Methods
Static automaticallyCreateComponentsInside
- automaticallyCreateComponentsInside(element: HTMLElement, initParameters: IInitializationParameters, ignore?: string[]): IInitResult
-
Parameters
-
element: HTMLElement
-
-
Default value ignore: string[] = []
Returns IInitResult
Static automaticallyCreateComponentsInsideResult
- automaticallyCreateComponentsInsideResult(resultElement: HTMLElement, result: IQueryResult, optionsToInject?: object): IInitResult
-
Parameters
-
resultElement: HTMLElement
-
-
Default value optionsToInject: object = {}
Returns IInitResult
Static getListOfLoadedComponents
- getListOfLoadedComponents(): string[]
Static getListOfRegisteredComponents
- getListOfRegisteredComponents(): String[]
Static getRegisteredComponent
Static getRegisteredFieldsComponentForQuery
- getRegisteredFieldsComponentForQuery(componentId: string): string[]
-
Parameters
Returns string[]
Static getRegisteredFieldsForQuery
- getRegisteredFieldsForQuery(): string[]
Static initRecommendationInterface
- initRecommendationInterface(element: HTMLElement, options?: any): IInitResult
-
Parameters
-
element: HTMLElement
-
Default value options: any = {}
Returns IInitResult
Static initSearchInterface
- initSearchInterface(element: HTMLElement, options?: any): IInitResult
-
Parameters
-
element: HTMLElement
-
Default value options: any = {}
Returns IInitResult
Static initStandaloneSearchInterface
- initStandaloneSearchInterface(element: HTMLElement, options?: any): IInitResult
-
Parameters
-
element: HTMLElement
-
Default value options: any = {}
Returns IInitResult
Static initializeFramework
- initializeFramework(element: HTMLElement, options: any, initSearchInterfaceFunction: function): Promise<object>
-
Parameters
-
element: HTMLElement
-
options: any
-
initSearchInterfaceFunction: function
-
- (...args: any[]): IInitResult
-
Parameters
Returns IInitResult
Returns Promise<object>
Static isComponentClassIdRegistered
- isComponentClassIdRegistered(componentClassId: string): boolean
-
Parameters
Returns boolean
Static isNamedMethodRegistered
- isNamedMethodRegistered(methodName: string): boolean
-
Parameters
Returns boolean
Static monkeyPatchComponentMethod
- monkeyPatchComponentMethod(methodName: string, element: HTMLElement, handler: function): void
-
Parameters
-
methodName: string
-
element: HTMLElement
-
handler: function
Returns void
Static registerAutoCreateComponent
Static registerComponentFields
- registerComponentFields(componentId: string, fields: string[]): void
-
Parameters
-
componentId: string
-
fields: string[]
Returns void
Static registerDefaultOptions
- registerDefaultOptions(element: HTMLElement, options: __type): void
-
Parameters
-
element: HTMLElement
-
options: __type
Returns void
Static registerNamedMethod
- registerNamedMethod(methodName: string, handler: function): void
-
Parameters
-
methodName: string
-
handler: function
Returns void