Skip to content

Commit 4ca9825

Browse files
committed
docs: refine properties, add migration guide
1 parent 2a32497 commit 4ca9825

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

docs/content/en/guide/properties.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,39 @@ category: Guide
55
position: 4
66
---
77

8+
## Overview the default value of properties
9+
10+
```vue
11+
<template>
12+
<vue-final-modal
13+
:name="null"
14+
:value="false"
15+
:ssr="true"
16+
:classes="false"
17+
overlay-class=""
18+
content-class=""
19+
styles=""
20+
overlay-style=""
21+
content-style=""
22+
:lock-scroll="true"
23+
:hide-overlay="false"
24+
:click-to-close="true"
25+
:esc-to-close="false"
26+
:prevent-click="false"
27+
:attach="false"
28+
transition="vfm"
29+
overlay-transition="vfm"
30+
:z-index-auto="true"
31+
:z-index-base="1000"
32+
:z-index="false"
33+
:focus-retain="true"
34+
:focus-trap="false"
35+
>
36+
...modal content
37+
</vue-final-modal>
38+
</template>
39+
```
40+
841
## `name`
942

1043
- Type: `String`

docs/content/en/migration.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Migration from 0.x, 1.x
3+
description: 'Discover how you can use Vue Final Modal with TypeScript.'
4+
category: Advanced
5+
position: 13
6+
fullscreen: true
7+
---
8+
9+
## Breaking change
10+
11+
## What's New?
12+
13+
## 0.x to 2.x for Vue 2
14+
15+
## 1.x to 3.x for Vue 3

0 commit comments

Comments
 (0)