You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/docs/en-US/drawer.md
+47-4Lines changed: 47 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,36 @@ Callout a temporary drawer, from multiple direction
50
50
```
51
51
:::
52
52
53
+
### No Title
54
+
55
+
When you no longer need a title, you can remove title from drawer.
56
+
57
+
:::demo Set the `withHeader` attribute to **false**, you can remove the title from drawer, thus your drawer can have more space on screen. If you want to be accessible, make sure to set the `title` attribute.
@@ -238,6 +280,7 @@ If the variable bound to `visible` is managed in Vuex store, the `.sync` can not
238
280
| title | Drawer's title, can also be set by named slot, detailed descriptions can be found in the slot form | string | — | — |
239
281
| visible | Should Drawer be displayed, also support the `.sync` notation | boolean | — | false |
240
282
| wrapperClosable | Indicates whether user can close Drawer by clicking the shadowing layer. | boolean | - | true |
283
+
| withHeader | Flag that controls the header section's existance, default to true, when withHeader set to false, both `title attribute` and `title slot` won't work | boolean | - | true |
Copy file name to clipboardExpand all lines: examples/docs/es/drawer.md
+65-22Lines changed: 65 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,37 @@ Callout a temporary drawer, from multiple direction
50
50
```
51
51
:::
52
52
53
-
### Customization Content
53
+
### No Title
54
+
55
+
When you no longer need a title, you can remove title from drawer.
56
+
57
+
:::demo Set the `withHeader` attribute to **false**, you can remove the title from drawer, thus your drawer can have more space on screen. If you want to be accessible, make sure to set the `title` attribute.
| append-to-body | Controls should Drawer be inserted to DocumentBody Element, nested Drawer must assign this param to **true**| boolean | — | false |
229
-
| before-close | If set, closing procedure will be halted | function(done), done is function type that accepts a boolean as parameter, calling done with true or without parameter will abort the close procedure | — | — |
230
-
| close-on-press-escape | Indicates whether Drawer can be closed by pressing ESC | boolean | — | true |
231
-
| custom-class | Extra class names for Drawer | string | — | — |
232
-
| destroy-on-close | Indicates whether children should be destroyed after Drawer closed | boolean | - | false |
233
-
| modal | Should show shadowing layer | boolean | — | true |
234
-
| modal-append-to-body | Indicates should shadowing layer be insert into DocumentBody element | boolean | — | true |
235
-
| direction | Drawer's opening direction | Direction | rtl / ltr / ttb / tbb | rtl |
236
-
| show-close | Should show close button at the top right of Drawer | boolean | — | true |
237
-
| size | Drawer's size, if Drawer is horizontal mode, it effects the width property, otherwise it effects the height property, when size is `number` type, it describes the size by unit of pixels; when size is `string` type, it should be used with `x%` notation, other wise it will be interpreted to pixel unit | number / string | - | '30%' |
238
-
| title | Drawer's title, can also be set by named slot, detailed descriptions can be found in the slot form | string | — | — |
239
-
| visible | Should Drawer be displayed, also support the `.sync` notation | boolean | — | false |
240
-
| wrapperClosable | Indicates whether user can close Drawer by clicking the shadowing layer. | boolean | - | true |
241
-
242
-
### Drawer Slot
243
-
244
-
| Name | Description |
270
+
| append-to-body | Los controles deberían insertar Drawer en el elemento DocumentBody, los Drawer anidados deben asignar este parámetro a **true**| boolean | — | false |
271
+
| before-close | Si está configurado, el procedimiento de cierre se detendrá. | function(done), done es un tipo de función que acepta un booleano como parámetro, una llamada hecha con true o sin parámetro abortará el procedimiento de cierre. | — | — |
272
+
| close-on-press-escape | Indica si el Drawer puede cerrarse pulsando ESC | boolean | — | true |
273
+
| custom-class | Nombre extra de clase para Drawer | string | — | — |
274
+
| destroy-on-close | Indica si los children deben ser destruidos después de cerrar el Drawer. | boolean | - | false |
275
+
| modal | Mostrará una capa de sombra | boolean | — | true |
276
+
| modal-append-to-body | Indica si se debe insertar una capa de sombreado en el elemento DocumentBody | boolean | — | true |
277
+
| direction | Dirección de apertura del Drawer | Direction | rtl / ltr / ttb / btt | rtl |
278
+
| show-close | Se mostrará el botón de cerrar en la parte superior derecha del Drawer | boolean | — | true |
279
+
| size | Tamaño del Drawer. Si el Drawer está en modo horizontal, afecta a la propiedad width, de lo contrario afecta a la propiedad height, cuando el tamaño es tipo `number`, describe el tamaño por unidad de píxeles; cuando el tamaño es tipo `string`, se debe usar con notación `x%`, de lo contrario se interpretará como unidad de píxeles. | number / string | - | '30%' |
280
+
| title | El título del Drawer, también se puede establecer por slot con nombre, las descripciones detalladas se pueden encontrar en el formulario de slot. | string | — | — |
281
+
| visible | Si se muestra el Drawer, también soporta la notación `.sync`| boolean | — | false |
282
+
| wrapperClosable | Indica si el usuario puede cerrar el Drawer haciendo clic en la capa de sombreado. | boolean | - | true |
283
+
| withHeader | Flag that controls the header section's existance, default to true, when withHeader set to false, both `title attribute` and `title slot` won't work | boolean | - | true |
Copy file name to clipboardExpand all lines: examples/docs/fr-FR/drawer.md
+47-4Lines changed: 47 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,36 @@ Callout a temporary drawer, from multiple direction
50
50
```
51
51
:::
52
52
53
+
### No Title
54
+
55
+
When you no longer need a title, you can remove title from drawer.
56
+
57
+
:::demo Set the `withHeader` attribute to **false**, you can remove the title from drawer, thus your drawer can have more space on screen. If you want to be accessible, make sure to set the `title` attribute.
@@ -238,6 +280,7 @@ If the variable bound to `visible` is managed in Vuex store, the `.sync` can not
238
280
| title | Drawer's title, can also be set by named slot, detailed descriptions can be found in the slot form | string | — | — |
239
281
| visible | Should Drawer be displayed, also support the `.sync` notation | boolean | — | false |
240
282
| wrapperClosable | Indicates whether user can close Drawer by clicking the shadowing layer. | boolean | - | true |
283
+
| withHeader | Flag that controls the header section's existance, default to true, when withHeader set to false, both `title attribute` and `title slot` won't work | boolean | - | true |
0 commit comments