The context object contains all the current state and configuration of a VueList instance. It’s automatically passed to the request handler and state manager methods.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/7span/vue-list/llms.txt
Use this file to discover all available pages before exploring further.
Context Properties
The context object is a computed property that includes:The API endpoint URL for fetching data. This is passed from the
endpoint prop of the VueList component.Version identifier used by the state manager to identify configuration changes. When the version changes, the state manager can clean up stale states.
Additional metadata passed from the
meta prop. This can be any data you want to include in the request.Current search query string.
Current page number (1-based).
Number of items to fetch per page.
Name of the field to sort by.
Sort order direction. Either
'asc' or 'desc'.Current filter values from the
v-model:filters binding.Settings for each attribute/column, including visibility.
Indicates whether the current request is a refresh action. This is
true when the refresh() method is called, false otherwise.Usage in Request Handler
The context object is passed to your request handler:Usage in State Manager
The context is also passed to state manager methods:The context object is reactive and updates automatically when any state changes.