This component is an extension of the functionality of widgets on your . It provides the same widgets to be available inside your , giving them greater visual appeal and enhanced capabilities. This component is exclusive to the jig.default. - To understand what widgets do, see Widgets. - For a list of available widgets refer to example widgets.
The core structure includes:
- size - 1x1, 2x2, 2x4, 4x2, 4x4
- jigId - a reference to the jig we want to use
- when - The ability to include or exclude a widget. If set to true the widget is included, if set to false the widget will not be displayed. Dynamically set this property by using expressions.
- input - parameters that will be sent as inputs to our .
Widgets as components
This sample displays the 4x4 location widget and four 1x1 widgets. The widgets as components behave similarly to widgets on the Home hub. By tapping on them you can get to their detail. The types and sizes available are the same as for Widgets. Examples: See the full example in GitHub. See the folder with supporting files in GitHub.