NavBar
Install
Usage
Basic Usage
Use Slot
API
Props
| Attribute |
Description |
Type |
Default |
| title |
Title |
string |
'' |
| left-text |
Left Text |
string |
'' |
| right-text |
Right Text |
string |
'' |
| left-arrow |
Whether to show left arrow |
boolean |
false |
| border |
Whether to show bottom border |
boolean |
true |
| fixed |
Whether to fixed top |
boolean |
false |
placeholder v2.5.9 |
Whether to generage a placeholder element when fixed |
boolean |
false |
| z-index |
Z-index |
number | string |
1 |
safe-area-inset-top v2.10.13 |
Whether to enable top safe area adaptation |
boolean |
false |
Slots
| Name |
Description |
| title |
Custom title |
| left |
Custom left side content |
| right |
Custom right side content |
Events
| Event |
Description |
Arguments |
| click-left |
Triggered when click left button |
- |
| click-right |
Triggered when click right button |
- |