WidgetComponentTypeFactory documentation¶
TypeScript declaration¶
import type { WidgetComponentTypeFactory } from '@siemens/dashboards-ng'; Types Documentation¶
CommonFactoryFields
{ componentName: string; editorComponentName?: string; /** * CSS class that is added to the modal dialog when component editor dialog is shown. * Provides the option to change the size if the dialog. */ editorModalClass?: string; } ¶ Properties¶
-
CSS class that is added to the modal dialog when component editor dialog is shown. Provides the option to change the size if the dialog.
ModuleOptions
WidgetComponentTypeBaseConfig & { moduleName: string; moduleLoader: (name: string) => Promise<any>; componentLoader?: never; } ¶Use when component is not standalone and part of a module
Properties¶
-
factoryType?:
"default"¶ -
moduleLoader:
(name: string) => Promise<any>¶
StandaloneOptions
WidgetComponentTypeBaseConfig & { componentLoader: <T = unknown>(componentName: string) => Promise<Type<T>>; moduleName?: never; moduleLoader?: never; } ¶Use when component is standalone
Properties¶
-
componentLoader:
<T = unknown>(componentName: string) => Promise<Type<T>>¶ -
factoryType?:
"default"¶
Properties¶
-
factoryType?:
"default"¶
Index Signatures¶
Except where otherwise noted, content on this site is licensed under MIT License.