Fetch a collection of a resource instances and provide them to its children
Name |
Type |
Description |
Default |
resource |
object |
The resource to fetch instances from |
`` |
filters |
object |
A dictionary of filters to apply when fetching resource instances |
null |
offset |
number |
The offset to apply when fetching resource instances |
0 |
limit |
number |
The limit to apply when fetching resource instances |
null |
infinite |
boolean |
With infinite mode, new fetched items are appended to the previous ones |
false |
keepOnEmpty |
boolean |
Show the default slot even when no results are fetched |
false |
Name |
Description |
Scoped |
default |
Use this slot to render the fetched resource instances |
true |
empty |
Use this slot to render a component when no results are fetched |
true |
Name |
Description |
loaded |
Emitted when new resource instances are loaded |
error |
Emitted when an error occurs during loading |
Clear all the fetched resource instances
Refetch resource instances
On success, a `loaded` event is emitted.
On error, a `error` event is emitted.
Clear and reload resource instances