@awcrotwell/motion
Version:
Motion allows you to build reactive, real-time frontend UI components in your Amber application using pure Crystal that are reusable, testable & encapsulated. For brevity, we will call them MotionComponents.
17 lines (16 loc) • 502 B
TypeScript
import Client from './Client';
export default class BindingManager {
client: Client;
_handlers: Array<any>;
element: HTMLElement;
constructor(client: Client, element: HTMLElement);
update(): void;
shutdown(): void;
parseBindings(): Map<any, any>;
_buildHandlerForBinding({ mode, motion }: {
mode: any;
motion: any;
}): (event: any) => void;
_setupMissingHandlers(targetBindings: any): void;
_removeExtraHandlers(targetBindings: any): void;
}