list
Whenever a list is configured either in the jig.list, or list-item component, the list is automatically populated on the surface of the widget without needing additional configuration. There is also the option to extend the list widget by using the Extend List Widget property, which reuses the list configuration and its data to extend or override some of the properties in the widget. The item data is called from [email protected].
There are, instances when you want to create a list widget on a that is not a list , such as a jig.default. This is primarily where the list widget is used.
A list widget can be used on any type of , i.e. list, default, composite, calendar and document.
Core options | |
---|---|
item | The item property includes the setup options of: |
Other options | |
---|---|
badge | Add a badge to the list widget to highlight critical information and capture the user's attention, ensuring key updates or notifications are easily noticeable within the app. The badge can be configured at the root level of the file: - To display as a red dot using the empty value. - A red dot with a number using an expression to perform a count. For example, counting the number of tasks in the list. |
bottom | The titles component will be added to the bottom of the widget. |
data | Provide the datasource for the list. For example: data: [email protected] |
footer | Add text to the footer of the widget. |
footerAlign | Align the footer text to left, right, center. |
placeholders | Specify a placeholder text to display if there is no data, for example - title: No data to display. |
top | The titles component will be added to the top of the widget. |
State Configuration | Key | Notes |
---|---|---|
amount checked |
| |
amount checked |
| |
activeItemId now |
|
The Extended List Widget can only be used on a list . The purpose of using this widget is to customize what shows in the widget on the rather than showing its automatic list display. The Extended List Widget must be configured with a size 2x2 or greater. Reuse the data in the list , for example, [email protected] or [email protected].
See the following examples under groups: