Plugins: { apply( hook: | "update" | "init" | "destroy" | "setup" | "dom" | "node" | "attribute", args?: any[], ): void; reset(): void; use( plugin: Partial< Record< | "update" | "init" | "destroy" | "setup" | "dom" | "node" | "attribute", any, >, >, ): void;} = ... Type declaration
apply:function
apply( hook: | "update" | "init" | "destroy" | "setup" | "dom" | "node" | "attribute", args?: any[],): void Parameters
- hook: "update" | "init" | "destroy" | "setup" | "dom" | "node" | "attribute"
- args: any[] = []
Returns void
reset:function
use:function
use( plugin: Partial< Record< "update" | "init" | "destroy" | "setup" | "dom" | "node" | "attribute", any, >, >,): void Parameters
- plugin: Partial<
Record<
"update"
| "init"
| "destroy"
| "setup"
| "dom"
| "node"
| "attribute",
any,
>,
>
Returns void