PageHeader
A page header information area with title, subtitle, back button and a right-side action area. Commonly used at the top of detail and edit pages.
Basic usage
Title and subtitle
With back button
Back button
Right-side action area
extra slot
Event feedback
Back event
API
Attributes
| Attribute | Description | Type | Default |
|---|---|---|---|
back | Whether to show the back button | boolean | — |
subtitle | Subtitle text | string | — |
title | Title text | string | — |
Events
| Event | Description |
|---|---|
oas-back | The back button was clicked |
Slots
| Name | Description |
|---|---|
extra | — |
Slots: extra (right-side action area, empty by default). The back button renders as a native <button aria-label="返回">.