Methods
Static
getPlugin
- getPlugin<T extends KitPlugin>(pName: string): undefined | T
Returns undefined | T
Static
getPlugins
- getPlugins(): string[]
Returns string[]
Static
init
- init<T extends KitPlugin>(pPlugins: KitPluginConstructor<T>[]): void
Parameters
- pPlugins: KitPluginConstructor<T>[]
Returns void
Static
off
- off(pPluginName: string, pEventName: string, pListener: Listener): void
Parameters
- pPluginName: string
- pEventName: string
- pListener: Listener
Returns void
Static
on
- on(pPluginName: string, pEventName: string, pListener: Listener): void
Parameters
- pPluginName: string
- pEventName: string
- pListener: Listener
Returns void
Static
registerPlugin
- registerPlugin<T extends KitPlugin>(pPlugin: KitPluginConstructor<T>): T
Parameters
- pPlugin: KitPluginConstructor<T>
Returns T
- registerPlugin<T extends KitPlugin>(pPlugin: KitPluginConstructor<T>[]): T[]
Parameters
- pPlugin: KitPluginConstructor<T>[]
Returns T[]
Static
setResources
- setResources(pResourceJson: Record<string, ResourceData[]>): Promise<void>
Returns Promise<void>
Gets a plugin by name.