Skip to content
This repository was archived by the owner on Jan 9, 2022. It is now read-only.

Commit df997f7

Browse files
Michael.KryvoruchkoMichael.Kryvoruchko
authored andcommitted
feat(docs): add description to local prop
1 parent 0a09cc2 commit df997f7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

packages/docs/src/docs/components/g-dialog.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ z-index of the component is 200. So be careful. Don't make z-index of the header
1717
| [content-class](#content-class) | `string` | `''` |
1818
| [depressed](#depressed) | `boolean` | `false` |
1919
| [height](#height) | `string` `number` | `'auto'` |
20+
| [local](#local) | `boolean` | `false` |
2021
| [max-width](#max-width) | `string` `number` | `'none'` |
2122
| [model-value](#model-value) | `boolean` | `false` |
2223
| [overlay-background](#overlay-background) | `boolean` `string` | `true` |
@@ -85,6 +86,20 @@ Disables default box-shadow
8586
- **Details:** <br/>
8687
Sets height for the dialog
8788

89+
---
90+
### `local`
91+
- **Type:** `Boolean`
92+
93+
- **Default:** `false`
94+
95+
- **Details:** <br/>
96+
Enables local mode for the dialog. The dialog will not be teleported to body. It will be positioned `absolute` intdead `fixed`.
97+
Be sure to specify `position: relative;` for the parent element where you place the dialog
98+
99+
The props can be usefull if you want to show some windows above a certain part of your app
100+
101+
`v1.2.0+`
102+
88103
---
89104

90105
### `max-width`

0 commit comments

Comments
 (0)