Interface IComponentEvents
Methods
addChild
- addChild(child: HTMLElement | default<HTMLElement>): any
-
Parameters
-
child: HTMLElement | default<HTMLElement>
Returns any
append
- append(to: HTMLElement | default<HTMLElement>): any
-
Parameters
-
to: HTMLElement | default<HTMLElement>
Returns any
blur
- blur(): any
-
Returns any
enter
- enter(reason: "focus" | "mouse"): any
-
Parameters
-
reason: "focus" | "mouse"
Returns any
focus
- focus(): any
-
Returns any
hide
- hide(): any
-
Returns any
inputChange
- inputChange(event: Event): any
-
Returns any
leave
- leave(reason: "remove" | "focus" | "mouse"): any
-
Parameters
-
reason: "remove" | "focus" | "mouse"
Returns any
observed
- observed(): any
-
Returns any
regenerateBox
- regenerateBox(box: IBox): any
-
Returns any
remove
- remove(): any
-
Returns any
removeChild
- removeChild(): any
-
Returns any
removeContextMenu
-
Returns any
removeForAppend
- removeForAppend(): any
-
Returns any
rooted
- rooted(): any
-
Returns any
show
- show(): any
-
Returns any
toggleVisible
- toggleVisible(visible: boolean): any
-
Returns any
unapplyImagePathHandler
- unapplyImagePathHandler(component: default<HTMLElement>, variableName: string): any
-
Parameters
-
component: default<HTMLElement>
-
variableName: string
Returns any
unrooted
- unrooted(): any
-
Returns any
willRemove
- willRemove(): boolean | void
-
Returns boolean | void
Fired when the element is first observed. observe() must be called to setup this event.