API
Variables
Props
| name | type | default | description | required version |
| left-options.showBack | boolean | true | if show back text | -- |
| left-options.backText | string | Back | the back text | -- |
| left-options.preventGoBack | boolean | false | stop go back when clicking | -- |
| title | string | title | -- | |
| transition | string | title transition | -- | |
| right-options.showMore | boolean | false | if show more icon | -- |
Events
| name | params | description | required version |
| @on-click-more | -- | triggers when more icon is clicked | -- |
| @on-click-back | -- | triggers when left part is clicked and the prop 'left-options.preventGoBack' is true | -- |
| @on-click-title | -- | triggers when title is clicked | -- |
Slots
| name | description | required version |
| default | title | -- |
| left | left slot after backText | -- |
| overwrite-left | overwrite left icon and text | v2.2.2 |
| right | right slot | -- |
| overwrite-title | overwrite title content | v2.5.3 |
Variables
| name | default | description | inherited name |
| @header-background-color | #35495e | -- | |
| @header-title-color | #fff | -- | |
| @header-text-color | #ccc | -- | |
| @header-arrow-color | #ccc | -- |
Contributors
Contributors
Total commits quantity: 18,Total contributors quantity: 3
airylandPlortinusF-loatChangelog
Releases
- v2.5.3 [feature] Add slot:overwrite-title #1669
- v2.2.2 [feature] Add slot:overwrite-left
- v2.1.1-rc.13 [fix] Fix cannot set empty backText #1109 @erguotou520
- v2.1.1-rc.8 [fix] Fix transition
- v2.1.1-rc.8 [fix] Fix back-text i18n