Methods
mount
- mount(id, params?): void
-
Returns void
unmount
- unmount(): void
-
Returns void
update
- update(props): void
-
Returns void
addListener
- addListener<KEventName>(type, callback): void
-
Type Parameters
-
KEventName extends string | number | symbol
Parameters
-
type: KEventName
-
callback: ((data) => void)
-
- (data): void
-
Returns void
Returns void
removeListener
- removeListener<KEventName>(type): void
-
Type Parameters
-
KEventName extends string | number | symbol
Returns void
Widget interface. Every widget implements this interface.