element-plus/website/docs/fr-FR/page-header.md
zazzaz f12000f9c2
feat: add website (#135)
* feat: add website

* chore: fix
2020-08-13 15:18:26 +08:00

40 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## PageHeader
Si le chemin de la page est simple, il est recommandé dutiliser PageHeader au lieu de Breadcrumb.
### Basic
:::demo
```html
<el-page-header @back="goBack" content="detail">
</el-page-header>
<script>
export default {
methods: {
goBack() {
console.log('go back');
}
}
}
</script>
```
:::
### Attributes
| Attribute | Description | Type | Valeurs acceptées | Défaut |
|---------- |-------------- |---------- |------------------------------ | ------ |
| title | titre principal | string | — | Back |
| content | contenu | string | — | — |
### Events
| Event Name | Description | Parameters |
|----------- |-------------- |----------- |
| back | se déclenche lorsque vous cliquez sur le côté droit | — |
### Slots
| slot | Description |
|---------- | ---------------------- |
| title | contenu du titre |
| content | contenu |