UNPKG

@domx/statecontroller

Version:

A StateController base class for handling data state changes on a LitElement

13 lines 741 B
import { StateController } from "./StateController"; interface EventClass { eventType: string; } interface IEventHandlerOptions { /** set this option to false to not have `stopImmediatePropagation` from being called on the event */ capture: boolean; } export declare const windowEvent: (eventClass: EventClass, options?: IEventHandlerOptions) => (controllerClass: StateController, propertyKey: string) => void; export declare const hostEvent: (eventClass: EventClass, options?: IEventHandlerOptions) => (controllerClass: StateController, propertyKey: string) => void; export declare const stateProperty: () => (target: StateController, propertyKey: string) => void; export {}; //# sourceMappingURL=decorators.d.ts.map