Displaying data
Bind query results into widgets:
{{ getOrders.data }}
- Table — array of objects as rows.
- Text / Stat box — single fields via
{{ getOrders.data[0].total }}. - Chart / List — map arrays to the shape each widget expects.
Transform data in a JS Object when the API shape does not match the widget.