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

Lines changed: 4 additions & 4 deletions
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

Lines changed: 1 addition & 5 deletions
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

Lines changed: 3 additions & 1 deletion
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

Lines changed: 1 addition & 5 deletions
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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 1 addition & 1 deletion
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" />
Lines changed: 1 addition & 3 deletions
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

Lines changed: 1 addition & 3 deletions
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>
Lines changed: 1 addition & 3 deletions
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

Lines changed: 1 addition & 3 deletions
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

0 commit comments

Comments
 (0)