From aeda33d8ae579a47fd3dcb3b8293eb198b9a9a72 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Fri, 25 Sep 2020 10:27:27 -0400 Subject: [PATCH] docs(vue): add revised overlay examples (#22173) --- core/src/components/action-sheet/readme.md | 82 +++++++++++++++++-- core/src/components/action-sheet/usage/vue.md | 82 +++++++++++++++++-- core/src/components/alert/readme.md | 34 ++++++++ core/src/components/alert/usage/vue.md | 34 ++++++++ core/src/components/loading/readme.md | 34 ++++++++ core/src/components/loading/usage/vue.md | 34 ++++++++ core/src/components/modal/readme.md | 31 +++++++ core/src/components/modal/usage/vue.md | 31 +++++++ core/src/components/popover/readme.md | 36 ++++++++ core/src/components/popover/usage/vue.md | 36 ++++++++ core/src/components/toast/readme.md | 30 +++++++ core/src/components/toast/usage/vue.md | 30 +++++++ 12 files changed, 484 insertions(+), 10 deletions(-) diff --git a/core/src/components/action-sheet/readme.md b/core/src/components/action-sheet/readme.md index 4a70de38e3..83690632c5 100644 --- a/core/src/components/action-sheet/readme.md +++ b/core/src/components/action-sheet/readme.md @@ -286,6 +286,7 @@ export class ActionSheetExample { ``` +Developers can also use this component directly in their template: + +```html + + + +``` + ## Properties diff --git a/core/src/components/action-sheet/usage/vue.md b/core/src/components/action-sheet/usage/vue.md index b2e3658ecf..8e9d4169e5 100644 --- a/core/src/components/action-sheet/usage/vue.md +++ b/core/src/components/action-sheet/usage/vue.md @@ -6,6 +6,7 @@ ``` + +Developers can also use this component directly in their template: + +```html + + + +``` diff --git a/core/src/components/alert/readme.md b/core/src/components/alert/readme.md index 5ed7034655..ab7fa95b9b 100644 --- a/core/src/components/alert/readme.md +++ b/core/src/components/alert/readme.md @@ -1419,6 +1419,40 @@ export default defineComponent({ ``` +Developers can also use this component directly in their template: + +```html + + + +``` + ## Properties diff --git a/core/src/components/alert/usage/vue.md b/core/src/components/alert/usage/vue.md index cf90273088..c1cb7990cf 100644 --- a/core/src/components/alert/usage/vue.md +++ b/core/src/components/alert/usage/vue.md @@ -263,3 +263,37 @@ export default defineComponent({ }); ``` + +Developers can also use this component directly in their template: + +```html + + + +``` diff --git a/core/src/components/loading/readme.md b/core/src/components/loading/readme.md index 622ea29f6b..84f29b9a4d 100644 --- a/core/src/components/loading/readme.md +++ b/core/src/components/loading/readme.md @@ -265,6 +265,40 @@ export default defineComponent({ ``` +Developers can also use this component directly in their template: + +```html + + + +``` + ## Properties diff --git a/core/src/components/loading/usage/vue.md b/core/src/components/loading/usage/vue.md index 266a3326b4..8d92512536 100644 --- a/core/src/components/loading/usage/vue.md +++ b/core/src/components/loading/usage/vue.md @@ -52,3 +52,37 @@ export default defineComponent({ }); ``` + +Developers can also use this component directly in their template: + +```html + + + +``` diff --git a/core/src/components/modal/readme.md b/core/src/components/modal/readme.md index 6d3771b35a..c007e0bc42 100644 --- a/core/src/components/modal/readme.md +++ b/core/src/components/modal/readme.md @@ -646,6 +646,37 @@ export default { ``` +Developers can also use this component directly in their template: + +```html + + + +``` + ## Properties diff --git a/core/src/components/modal/usage/vue.md b/core/src/components/modal/usage/vue.md index 8f9233315b..cc10f78bb7 100644 --- a/core/src/components/modal/usage/vue.md +++ b/core/src/components/modal/usage/vue.md @@ -67,3 +67,34 @@ export default { } ``` + +Developers can also use this component directly in their template: + +```html + + + +``` diff --git a/core/src/components/popover/readme.md b/core/src/components/popover/readme.md index b4c493fede..9222a14629 100644 --- a/core/src/components/popover/readme.md +++ b/core/src/components/popover/readme.md @@ -224,6 +224,42 @@ export default { ``` +Developers can also use this component directly in their template: + +```html + + + +``` + ## Properties diff --git a/core/src/components/popover/usage/vue.md b/core/src/components/popover/usage/vue.md index a46dc65d37..c83f6b6d58 100644 --- a/core/src/components/popover/usage/vue.md +++ b/core/src/components/popover/usage/vue.md @@ -46,3 +46,39 @@ export default { } ``` + +Developers can also use this component directly in their template: + +```html + + + +``` diff --git a/core/src/components/toast/readme.md b/core/src/components/toast/readme.md index e60e5cabea..f29b1c03d8 100644 --- a/core/src/components/toast/readme.md +++ b/core/src/components/toast/readme.md @@ -271,6 +271,36 @@ export default { ``` +Developers can also use this component directly in their template: + +```html + + + +``` + ## Properties diff --git a/core/src/components/toast/usage/vue.md b/core/src/components/toast/usage/vue.md index f0c5134151..9d8bea3ee2 100644 --- a/core/src/components/toast/usage/vue.md +++ b/core/src/components/toast/usage/vue.md @@ -51,3 +51,33 @@ export default { } ``` + +Developers can also use this component directly in their template: + +```html + + + +```