mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 01:11:25 +08:00
87a16f24d3
* chore: add components-helper * docs: unified style * docs: unified style * docs: unified style * docs: unified style * chore: replace Accepted Values for icon * chore: delete vetur folder * chore: add components-helper * docs: unified style * docs: unified style * docs: unified style * docs: unified style * chore: replace Accepted Values for icon * chore: delete vetur folder
1014 B
1014 B
PageHeader
If path of the page is simple, it is recommended to use PageHeader instead of the Breadcrumb.
Basic
:::demo
<el-page-header @back="goBack" content="detail">
</el-page-header>
<script>
export default {
methods: {
goBack() {
console.log('go back');
}
}
}
</script>
:::
Attributes
Attribute | Description | Type | Accepted Values | Default |
---|---|---|---|---|
title | main title | string | — | Back |
content | content | string | — | — |
Events
Event Name | Description | Parameters |
---|---|---|
back | triggers when right side is clicked | — |
Slots
Name | Description |
---|---|
title | title content |
content | content |