Registers a new widget type.
Namespace: MindFusion.Dashboards
File: WidgetRegistry.js
SyntaxJavaScript
Copy Code
|
|---|
function register (id, factory, metadata) |
String. A unique string identifier for the widget type.
function. A function that returns a new instance of the widget.
Object. An object containing UI information such as 'displayName' and 'category'.
See Also