setWidget function
Use the setWidget high order function to configure UI components into widget components that can be added to the WidgetsProvider component.
Import path
Arguments
|
Name |
Description |
|---|---|
|
|
String ID configured in the CEC. |
|
|
See following widget object schema. |
Widget object
|
Name |
Description |
|---|---|
|
|
UI component to be configured into widget component |
|
|
Enumerator for widget type with following values:
|