Skip to content

Commit 63d96f3

Browse files
authored
chore: lint content (#3020)
1 parent b2b7df1 commit 63d96f3

File tree

17 files changed

+40
-58
lines changed

17 files changed

+40
-58
lines changed

docs/vue/lifecycle.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ This guide discusses how to use the Ionic Framework Lifecycle events in an Ionic
1010

1111
Ionic Framework provides a few lifecycle methods that you can use in your apps:
1212

13-
| Event Name | Description |
13+
| Event Name | Description |
1414
| ------------------ | ------------------------------------------------------------------ |
1515
| `ionViewWillEnter` | Fired when the component routing to is about to animate into view. |
16-
| `ionViewDidEnter` | Fired when the component routing to has _finished_ animating. |
17-
| `ionViewWillLeave` | Fired when the component routing _from_ is about to animate. |
18-
| `ionViewDidLeave` | Fired when the component routing _from_ has _finished_ animating. |
16+
| `ionViewDidEnter` | Fired when the component routing to has _finished_ animating. |
17+
| `ionViewWillLeave` | Fired when the component routing _from_ is about to animate. |
18+
| `ionViewDidLeave` | Fired when the component routing _from_ has _finished_ animating. |
1919

2020
These lifecycles are only called on components directly mapped by a router. This means if `/pageOne` maps to `PageOneComponent`, then Ionic lifecycles will be called on `PageOneComponent` but will not be called on any child components that `PageOneComponent` may render.
2121

static/usage/v7/input/label-slot/index.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,4 @@ import react from './react.md';
55
import vue from './vue.md';
66
import angular from './angular.md';
77

8-
<Playground
9-
version="7"
10-
code={{ javascript, react, vue, angular }}
11-
src="usage/v7/input/label-slot/demo.html"
12-
/>
8+
<Playground version="7" code={{ javascript, react, vue, angular }} src="usage/v7/input/label-slot/demo.html" />

static/usage/v7/input/label-slot/react.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ function Example() {
77
<IonList>
88
<IonItem>
99
<IonInput labelPlacement="floating" value="hi@ionic.io">
10-
<div slot="label">Email <IonText color="danger">(Required)</IonText></div>
10+
<div slot="label">
11+
Email <IonText color="danger">(Required)</IonText>
12+
</div>
1113
</IonInput>
1214
</IonItem>
1315
</IonList>

static/usage/v7/input/no-visible-label/index.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,4 @@ import react from './react.md';
55
import vue from './vue.md';
66
import angular from './angular.md';
77

8-
<Playground
9-
version="7"
10-
code={{ javascript, react, vue, angular }}
11-
src="usage/v7/input/no-visible-label/demo.html"
12-
/>
8+
<Playground version="7" code={{ javascript, react, vue, angular }} src="usage/v7/input/no-visible-label/demo.html" />

static/usage/v7/list/inset/index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import vue from './vue.md';
66
import angular from './angular.md';
77

88
<Playground
9-
version="7"
10-
code={{ javascript, react, vue, angular }}
11-
src="usage/v7/list/inset/demo.html"
9+
version="7"
10+
code={{ javascript, react, vue, angular }}
11+
src="usage/v7/list/inset/demo.html"
1212
size="350px"
1313
includeIonContent={false}
1414
/>

static/usage/v7/range/basic/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ import react from './react.md';
77
import vue from './vue.md';
88
import angular from './angular.md';
99

10-
<Playground version="7" code={{ javascript, react, vue, angular }} src="usage/v7/range/basic/demo.html" />
10+
<Playground version="7" code={{ javascript, react, vue, angular }} src="usage/v7/range/basic/demo.html" />
+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
```html
22
<ion-range>
3-
<div slot="label">
4-
Label with <ion-text color="primary">custom HTML</ion-text>
5-
</div>
3+
<div slot="label">Label with <ion-text color="primary">custom HTML</ion-text></div>
64
</ion-range>
75
```

static/usage/v7/range/label-slot/demo.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
<ion-content>
2121
<div class="container">
2222
<ion-range>
23-
<div slot="label">
24-
Label with <ion-text color="primary">custom HTML</ion-text>
25-
</div>
23+
<div slot="label">Label with <ion-text color="primary">custom HTML</ion-text></div>
2624
</ion-range>
2725
</div>
2826
</ion-content>
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
```html
22
<ion-range>
3-
<div slot="label">
4-
Label with <ion-text color="primary">custom HTML</ion-text>
5-
</div>
3+
<div slot="label">Label with <ion-text color="primary">custom HTML</ion-text></div>
64
</ion-range>
75
```

static/usage/v7/range/label-slot/vue.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
```html
22
<template>
33
<ion-range>
4-
<div slot="label">
5-
Label with <ion-text color="primary">custom HTML</ion-text>
6-
</div>
4+
<div slot="label">Label with <ion-text color="primary">custom HTML</ion-text></div>
75
</ion-range>
86
</template>
97

static/usage/v7/range/labels/demo.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
<div class="container">
2222
<div class="wrapper">
2323
<ion-range label-placement="start" label="Label at the Start"></ion-range>
24-
24+
2525
<br />
26-
26+
2727
<ion-range label-placement="end" label="Label at the End"></ion-range>
28-
28+
2929
<br />
30-
30+
3131
<ion-range label-placement="fixed" label="Fixed Width Label"></ion-range>
3232
</div>
3333
</div>

static/usage/v7/select/label-slot/react.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ function Example() {
77
<IonList>
88
<IonItem>
99
<IonSelect placeholder="Select a Fruit">
10-
<div slot="label">Favorite Fruit <IonText color="danger">(Required)</IonText></div>
10+
<div slot="label">
11+
Favorite Fruit <IonText color="danger">(Required)</IonText>
12+
</div>
1113
<IonSelectOption value="apple">Apple</IonSelectOption>
1214
<IonSelectOption value="banana">Banana</IonSelectOption>
1315
<IonSelectOption value="orange">Orange</IonSelectOption>

static/usage/v7/select/label-slot/vue.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<template>
33
<ion-list>
44
<ion-item>
5-
<ion-select placeholder="Select a Fruit">
6-
<div slot="label">Favorite Fruit <ion-text color="danger">(Required)</ion-text></div>
7-
<ion-select-option value="apple">Apple</ion-select-option>
8-
<ion-select-option value="banana">Banana</ion-select-option>
9-
<ion-select-option value="orange">Orange</ion-select-option>
10-
</ion-select>
5+
<ion-select placeholder="Select a Fruit">
6+
<div slot="label">Favorite Fruit <ion-text color="danger">(Required)</ion-text></div>
7+
<ion-select-option value="apple">Apple</ion-select-option>
8+
<ion-select-option value="banana">Banana</ion-select-option>
9+
<ion-select-option value="orange">Orange</ion-select-option>
10+
</ion-select>
1111
</ion-item>
1212
</ion-list>
1313
</template>

static/usage/v7/select/no-visible-label/vue.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<template>
33
<ion-list>
44
<ion-item>
5-
<ion-select aria-label="Favorite Fruit" value="apple">
6-
<ion-select-option value="apple">Apple</ion-select-option>
7-
<ion-select-option value="banana">Banana</ion-select-option>
8-
<ion-select-option value="orange">Orange</ion-select-option>
9-
</ion-select>
5+
<ion-select aria-label="Favorite Fruit" value="apple">
6+
<ion-select-option value="apple">Apple</ion-select-option>
7+
<ion-select-option value="banana">Banana</ion-select-option>
8+
<ion-select-option value="orange">Orange</ion-select-option>
9+
</ion-select>
1010
</ion-item>
1111
</ion-list>
1212
</template>

static/usage/v7/textarea/label-slot/index.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,4 @@ import react from './react.md';
55
import vue from './vue.md';
66
import angular from './angular.md';
77

8-
<Playground
9-
version="7"
10-
code={{ javascript, react, vue, angular }}
11-
src="usage/v7/textarea/label-slot/demo.html"
12-
/>
8+
<Playground version="7" code={{ javascript, react, vue, angular }} src="usage/v7/textarea/label-slot/demo.html" />

static/usage/v7/textarea/label-slot/react.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ function Example() {
77
<IonList>
88
<IonItem>
99
<IonTextarea labelPlacement="floating" value="Lorem Ipsum">
10-
<div slot="label">Comments <IonText color="danger">(Required)</IonText></div>
10+
<div slot="label">
11+
Comments <IonText color="danger">(Required)</IonText>
12+
</div>
1113
</IonTextarea>
1214
</IonItem>
1315
</IonList>

static/usage/v7/textarea/no-visible-label/index.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,4 @@ import react from './react.md';
55
import vue from './vue.md';
66
import angular from './angular.md';
77

8-
<Playground
9-
version="7"
10-
code={{ javascript, react, vue, angular }}
11-
src="usage/v7/textarea/no-visible-label/demo.html"
12-
/>
8+
<Playground version="7" code={{ javascript, react, vue, angular }} src="usage/v7/textarea/no-visible-label/demo.html" />

0 commit comments

Comments
 (0)