ViewRead
Overview
Read-only detail view that fetches and displays a single model instance identified by its primary key.
Theme entry: ViewRead
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| themeOverride | String|Object|Array | null | A partial theme object merged with the component's default theme; accepts a class string, class array, or theme object. | |
| app | string | yes | Django app label that owns the model. | |
| model | string | yes | Django model name used to resolve API endpoints and configuration. | |
| pk | string | yes | Primary key of the object instance to fetch and display. | |
| primaryActions | array | undefined | Action names promoted to the filled hero CTA in the action bar; defaults to the update action. |
Slots
| Name | Scoped | Description |
|---|---|---|
targetless-action-button | yes | |
extra-buttons | Additional action buttons appended in the page title action area. | |
action-button | yes | Override an individual action link button in the sticky bar. |
transition-button | yes | Override an individual workflow transition button in the sticky bar. |
Events
| Name | Description |
|---|---|
object | |
loading | |
related-object | |
calculated-object | |
form-object | |
form-context |
Source
client/lib/views/ViewRead.vue