From fe745aeb89be9c270fdc61a91c34df654656e56e Mon Sep 17 00:00:00 2001 From: Sean Perkins Date: Tue, 7 Nov 2023 00:23:46 -0500 Subject: [PATCH 1/3] docs(alert): update content in playground examples --- .../presenting/controller/angular/example_component_ts.md | 8 ++++---- static/usage/v7/alert/presenting/controller/demo.html | 8 ++++---- static/usage/v7/alert/presenting/controller/javascript.md | 8 ++++---- static/usage/v7/alert/presenting/controller/react.md | 8 ++++---- static/usage/v7/alert/presenting/controller/vue.md | 8 ++++---- .../presenting/isOpen/angular/example_component_html.md | 6 +++--- .../presenting/isOpen/angular/example_component_ts.md | 2 +- static/usage/v7/alert/presenting/isOpen/demo.html | 8 ++++++-- static/usage/v7/alert/presenting/isOpen/javascript.md | 8 ++++++-- static/usage/v7/alert/presenting/isOpen/react.md | 8 ++++---- static/usage/v7/alert/presenting/isOpen/vue.md | 8 ++++---- .../presenting/trigger/angular/example_component_html.md | 6 +++--- .../presenting/trigger/angular/example_component_ts.md | 2 +- static/usage/v7/alert/presenting/trigger/demo.html | 8 ++++---- static/usage/v7/alert/presenting/trigger/javascript.md | 8 ++++---- static/usage/v7/alert/presenting/trigger/react.md | 8 ++++---- static/usage/v7/alert/presenting/trigger/vue.md | 8 ++++---- 17 files changed, 64 insertions(+), 56 deletions(-) diff --git a/static/usage/v7/alert/presenting/controller/angular/example_component_ts.md b/static/usage/v7/alert/presenting/controller/angular/example_component_ts.md index 32583600432..6fdd69c7f69 100644 --- a/static/usage/v7/alert/presenting/controller/angular/example_component_ts.md +++ b/static/usage/v7/alert/presenting/controller/angular/example_component_ts.md @@ -11,10 +11,10 @@ export class ExampleComponent { async presentAlert() { const alert = await this.alertController.create({ - header: 'Alert', - subHeader: 'Important message', - message: 'This is an alert!', - buttons: ['OK'], + header: 'A Short Title Is Best', + subHeader: 'A Sub Header Is Optional', + message: 'A message should be a short, complete sentence.', + buttons: ['Action'], }); await alert.present(); diff --git a/static/usage/v7/alert/presenting/controller/demo.html b/static/usage/v7/alert/presenting/controller/demo.html index 62efcb2413c..d4e86b7fb77 100644 --- a/static/usage/v7/alert/presenting/controller/demo.html +++ b/static/usage/v7/alert/presenting/controller/demo.html @@ -22,10 +22,10 @@ diff --git a/static/usage/v7/alert/presenting/trigger/javascript.md b/static/usage/v7/alert/presenting/trigger/javascript.md index 82d43db4267..9496421db5b 100644 --- a/static/usage/v7/alert/presenting/trigger/javascript.md +++ b/static/usage/v7/alert/presenting/trigger/javascript.md @@ -2,13 +2,13 @@ Click Me ``` diff --git a/static/usage/v7/alert/presenting/trigger/react.md b/static/usage/v7/alert/presenting/trigger/react.md index d096665527b..cc5a89576c6 100644 --- a/static/usage/v7/alert/presenting/trigger/react.md +++ b/static/usage/v7/alert/presenting/trigger/react.md @@ -8,10 +8,10 @@ function Example() { Click Me ); diff --git a/static/usage/v7/alert/presenting/trigger/vue.md b/static/usage/v7/alert/presenting/trigger/vue.md index f645a91fe1e..344797317dc 100644 --- a/static/usage/v7/alert/presenting/trigger/vue.md +++ b/static/usage/v7/alert/presenting/trigger/vue.md @@ -3,9 +3,9 @@ Click Me @@ -13,6 +13,6 @@ ``` From f9e407546842ae0148c8bc5184e3ad29ffad379c Mon Sep 17 00:00:00 2001 From: Sean Perkins <13732623+sean-perkins@users.noreply.github.com> Date: Thu, 9 Nov 2023 20:28:32 -0500 Subject: [PATCH 2/3] Update static/usage/v7/alert/presenting/trigger/react.md Co-authored-by: Amanda Johnston <90629384+amandaejohnston@users.noreply.github.com> --- static/usage/v7/alert/presenting/trigger/react.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/usage/v7/alert/presenting/trigger/react.md b/static/usage/v7/alert/presenting/trigger/react.md index cc5a89576c6..4d10a5ad085 100644 --- a/static/usage/v7/alert/presenting/trigger/react.md +++ b/static/usage/v7/alert/presenting/trigger/react.md @@ -9,7 +9,7 @@ function Example() { From 71bd7c09278cc783fa5217126dbd11b81499f6da Mon Sep 17 00:00:00 2001 From: Sean Perkins <13732623+sean-perkins@users.noreply.github.com> Date: Thu, 9 Nov 2023 20:29:22 -0500 Subject: [PATCH 3/3] Update static/usage/v7/alert/presenting/trigger/angular/example_component_html.md Co-authored-by: Amanda Johnston <90629384+amandaejohnston@users.noreply.github.com> --- .../alert/presenting/trigger/angular/example_component_html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/usage/v7/alert/presenting/trigger/angular/example_component_html.md b/static/usage/v7/alert/presenting/trigger/angular/example_component_html.md index 91260b30c52..65d165d2173 100644 --- a/static/usage/v7/alert/presenting/trigger/angular/example_component_html.md +++ b/static/usage/v7/alert/presenting/trigger/angular/example_component_html.md @@ -3,7 +3,7 @@