UMD Web Components Library
    Preparing search index...

    Variable hooksConst

    hooks: {
        loadAnimation: (ref: ComponentRef) => any;
        loadOnConnect: (ref: ComponentRef) => undefined | void;
        resizeOnConnect: (ref: ComponentRef) => undefined | void;
    } = ...

    Common lifecycle hooks for component initialization and state management

    Type declaration

    • loadAnimation: (ref: ComponentRef) => any

      AfterConnect hook that sets up component animations Delays animation initialization to ensure proper positioning

    • loadOnConnect: (ref: ComponentRef) => undefined | void

      Standard afterConnect that calls the component's load event

    • resizeOnConnect: (ref: ComponentRef) => undefined | void

      Standard resize handler for afterConnect