Skip to content

Commit f388549

Browse files
committed
chore: prettier formatting
1 parent c96239f commit f388549

File tree

17 files changed

+31
-49
lines changed

17 files changed

+31
-49
lines changed

docs/angular/lifecycle.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ In addition to the Angular life cycle events, Ionic Angular provides a few addit
3737
| Event Name | Description |
3838
| ------------------ | ------------------------------------------------------------------ |
3939
| `ionViewWillEnter` | Fired when the component routing to is about to animate into view. |
40-
| `ionViewDidEnter` | Fired when the component routing to has *finished* animating. |
41-
| `ionViewWillLeave` | Fired when the component routing *from* is about to animate. |
42-
| `ionViewDidLeave` | Fired when the component routing *from* has *finished* animating. |
40+
| `ionViewDidEnter` | Fired when the component routing to has _finished_ animating. |
41+
| `ionViewWillLeave` | Fired when the component routing _from_ is about to animate. |
42+
| `ionViewDidLeave` | Fired when the component routing _from_ has _finished_ animating. |
4343

4444
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.
4545

docs/angular/navigation.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@ export class LoginComponent {
118118

119119
Both options provide the same navigation mechanism, just fitting different use cases.
120120

121-
:::note
122-
A note on navigation with relative URLs: Currently, to support multiple navigation stacks, relative URLs are something not supported
123-
:::
124-
125121
### Navigating using LocationStrategy.historyGo
126122

127123
Angular Router has a [LocationStrategy.historyGo](https://angular.io/api/common/LocationStrategy#historyGo) method that allows developers to move forward or backward through the application history. Let's take a look at an example.

docs/react/lifecycle.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Ionic provides a few lifecycle methods that you can use in your apps:
2020
| Event Name | Description |
2121
| ------------------ | ------------------------------------------------------------------ |
2222
| `ionViewWillEnter` | Fired when the component routing to is about to animate into view. |
23-
| `ionViewDidEnter` | Fired when the component routing to has *finished* animating. |
24-
| `ionViewWillLeave` | Fired when the component routing *from* is about to animate. |
25-
| `ionViewDidLeave` | Fired when the component routing *from* has *finished* animating. |
23+
| `ionViewDidEnter` | Fired when the component routing to has _finished_ animating. |
24+
| `ionViewWillLeave` | Fired when the component routing _from_ is about to animate. |
25+
| `ionViewDidLeave` | Fired when the component routing _from_ has _finished_ animating. |
2626

2727
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.
2828

docs/reference/glossary.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ title: Glossary
8686
A CLI, or <strong>C</strong>ommand-<strong>L</strong>ine <strong>I</strong>nterface, is a text-based interface for
8787
interacting with a program. The common command-line app for a Mac user is the Terminal app, and Windows users often
8888
use Command Prompt. The Ionic community often uses this term to refer to{' '}
89-
<a href="https://ionicframework.com/docs/cli">Ionic's CLI</a>. Ionic's CLI can be used for a number of things,
90-
such as creating production builds of an app, running the development server, and accessing{' '}
89+
<a href="https://ionicframework.com/docs/cli">Ionic's CLI</a>. Ionic's CLI can be used for a number of things, such
90+
as creating production builds of an app, running the development server, and accessing{' '}
9191
<a href="https://ionic.io/appflow" target="_blank">
9292
Ionic commercial services
9393
</a>

docs/vue/lifecycle.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ This guide discusses how to use the Ionic Framework Lifecycle events in an Ionic
99
## Ionic Framework Lifecycle Methods
1010

1111
Ionic Framework provides a few lifecycle methods that you can use in your apps:
12-
| Event Name | Description |
12+
| Event Name | Description |
1313
| ------------------ | ------------------------------------------------------------------ |
1414
| `ionViewWillEnter` | Fired when the component routing to is about to animate into view. |
15-
| `ionViewDidEnter` | Fired when the component routing to has *finished* animating. |
16-
| `ionViewWillLeave` | Fired when the component routing *from* is about to animate. |
17-
| `ionViewDidLeave` | Fired when the component routing *from* has *finished* animating. |
15+
| `ionViewDidEnter` | Fired when the component routing to has _finished_ animating. |
16+
| `ionViewWillLeave` | Fired when the component routing _from_ is about to animate. |
17+
| `ionViewDidLeave` | Fired when the component routing _from_ has _finished_ animating. |
1818

1919
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.
2020

docs/vue/navigation.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -416,15 +416,7 @@ Let's start by taking a look at our `Tabs` component:
416416
</template>
417417

418418
<script lang="ts">
419-
import {
420-
IonTabBar,
421-
IonTabButton,
422-
IonTabs,
423-
IonLabel,
424-
IonIcon,
425-
IonPage,
426-
IonRouterOutlet,
427-
} from '@ionic/vue';
419+
import { IonTabBar, IonTabButton, IonTabs, IonLabel, IonIcon, IonPage, IonRouterOutlet } from '@ionic/vue';
428420
import { ellipse, square, triangle } from 'ionicons/icons';
429421
430422
export default {

src/components/global/Playground/stackblitz.utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface EditorOptions {
2525
*/
2626
dependencies?: {
2727
[key: string]: string;
28-
}
28+
};
2929

3030
/**
3131
* `true` if `ion-app` and `ion-content` should automatically be injected into the

versioned_docs/version-v5/angular/navigation.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,6 @@ export class LoginComponent {
109109

110110
Both options provide the same navigation mechanism, just fitting different use cases.
111111

112-
:::note
113-
A note on navigation with relative URLs: Currently, to support multiple navigation stacks, relative URLs are something not supported
114-
:::
115-
116112
## Lazy loading routes
117113

118114
Now the current way our routes are setup makes it so they are included in the same chunk as the root app.module, which is not ideal. Instead, the router has a setup that allows the components to be isolated to their own chunks.

versioned_docs/version-v5/api/item.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,8 +1039,7 @@ export class ItemExample {
10391039
<ion-label class="ion-text-wrap">
10401040
Multiline text that should wrap when it is too long to fit on one line in the item.
10411041
</ion-label>
1042-
</ion-item>,
1043-
<ion-item>
1042+
</ion-item>,<ion-item>
10441043
<ion-label class="ion-text-wrap">
10451044
<ion-text color="primary">
10461045
<h3>H3 Primary Title</h3>
@@ -1050,8 +1049,7 @@ export class ItemExample {
10501049
<p>Paragraph line 2 secondary</p>
10511050
</ion-text>
10521051
</ion-label>
1053-
</ion-item>
1054-
,
1052+
</ion-item>,
10551053
<ion-item lines="full">
10561054
<ion-label>Item with Full Lines</ion-label>
10571055
</ion-item>

versioned_docs/version-v5/native/background-fetch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ For more detail, please see https://github.com/transistorsoft/cordova-plugin-bac
5858
>
5959
<TabItem value="Capacitor">
6060
<CodeBlock className="language-shell">
61-
$ npm install cordova-plugin-background-fetch {'\n'}$ npm install @awesome-cordova-plugins/background-fetch {'\n'}$
62-
ionic cap sync
61+
$ npm install cordova-plugin-background-fetch {'\n'}$ npm install @awesome-cordova-plugins/background-fetch {'\n'}
62+
$ ionic cap sync
6363
</CodeBlock>
6464
</TabItem>
6565
<TabItem value="Cordova">

versioned_docs/version-v5/native/bluetooth-serial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ This plugin enables serial communication over Bluetooth. It was written for comm
5151
>
5252
<TabItem value="Capacitor">
5353
<CodeBlock className="language-shell">
54-
$ npm install cordova-plugin-bluetooth-serial {'\n'}$ npm install @awesome-cordova-plugins/bluetooth-serial {'\n'}$
55-
ionic cap sync
54+
$ npm install cordova-plugin-bluetooth-serial {'\n'}$ npm install @awesome-cordova-plugins/bluetooth-serial {'\n'}
55+
$ ionic cap sync
5656
</CodeBlock>
5757
</TabItem>
5858
<TabItem value="Cordova">

versioned_docs/version-v5/native/document-scanner.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ This plugin processes images of documents, compensating for perspective.
5656
>
5757
<TabItem value="Capacitor">
5858
<CodeBlock className="language-shell">
59-
$ npm install cordova-plugin-document-scanner {'\n'}$ npm install @awesome-cordova-plugins/document-scanner {'\n'}$
60-
ionic cap sync
59+
$ npm install cordova-plugin-document-scanner {'\n'}$ npm install @awesome-cordova-plugins/document-scanner {'\n'}
60+
$ ionic cap sync
6161
</CodeBlock>
6262
</TabItem>
6363
<TabItem value="Cordova">

versioned_docs/version-v5/native/firebase-vision.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ Cordova plugin for Firebase MLKit Vision
5656
>
5757
<TabItem value="Capacitor">
5858
<CodeBlock className="language-shell">
59-
$ npm install cordova-plugin-firebase-mlvision {'\n'}$ npm install @awesome-cordova-plugins/firebase-vision {'\n'}$
60-
ionic cap sync
59+
$ npm install cordova-plugin-firebase-mlvision {'\n'}$ npm install @awesome-cordova-plugins/firebase-vision {'\n'}
60+
$ ionic cap sync
6161
</CodeBlock>
6262
</TabItem>
6363
<TabItem value="Cordova">

versioned_docs/version-v5/native/google-analytics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ Prerequisites:
5656
>
5757
<TabItem value="Capacitor">
5858
<CodeBlock className="language-shell">
59-
$ npm install cordova-plugin-google-analytics {'\n'}$ npm install @awesome-cordova-plugins/google-analytics {'\n'}$
60-
ionic cap sync
59+
$ npm install cordova-plugin-google-analytics {'\n'}$ npm install @awesome-cordova-plugins/google-analytics {'\n'}
60+
$ ionic cap sync
6161
</CodeBlock>
6262
</TabItem>
6363
<TabItem value="Cordova">

versioned_docs/version-v5/reference/glossary.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
A CLI, or <strong>C</strong>ommand-<strong>L</strong>ine <strong>I</strong>nterface, is a text-based interface for
7777
interacting with a program. The common command-line app for a Mac user is the Terminal app, and Windows users often
7878
use Command Prompt. The Ionic community often uses this term to refer to{' '}
79-
<a href="https://ionicframework.com/docs/cli">Ionic's CLI</a>. Ionic's CLI can be used for a number of things,
80-
such as creating production builds of an app, running the development server, and accessing{' '}
79+
<a href="https://ionicframework.com/docs/cli">Ionic's CLI</a>. Ionic's CLI can be used for a number of things, such
80+
as creating production builds of an app, running the development server, and accessing{' '}
8181
<a href="https://ionic.io/appflow" target="_blank">
8282
Ionic commercial services
8383
</a>

versioned_docs/version-v6/developing/android.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The Android SDK ships with <a href="https://developer.android.com/studio/command
4646

4747
In `~/.bashrc`, `~/.bash_profile`, or similar shell startup scripts, make the following modifications:
4848

49-
1. Set the `ANDROID_SDK_ROOT` environment variable. This path should be the **Android SDK Location** used in the previous section. To find the SDK Location in Android Studio, click **File** > **Project Structure**. Select **SDK Location** in the left pane. The path is shown under **Android SDK location**.
49+
1. Set the `ANDROID_SDK_ROOT` environment variable. This path should be the **Android SDK Location** used in the previous section. To find the SDK Location in Android Studio, click **File** > **Project Structure**. Select **SDK Location** in the left pane. The path is shown under **Android SDK location**.
5050

5151
```shell
5252
$ export ANDROID_SDK_ROOT=$HOME/Library/Android/sdk

versioned_docs/version-v6/reference/glossary.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ title: Glossary
8686
A CLI, or <strong>C</strong>ommand-<strong>L</strong>ine <strong>I</strong>nterface, is a text-based interface for
8787
interacting with a program. The common command-line app for a Mac user is the Terminal app, and Windows users often
8888
use Command Prompt. The Ionic community often uses this term to refer to{' '}
89-
<a href="https://ionicframework.com/docs/cli">Ionic's CLI</a>. Ionic's CLI can be used for a number of things,
90-
such as creating production builds of an app, running the development server, and accessing{' '}
89+
<a href="https://ionicframework.com/docs/cli">Ionic's CLI</a>. Ionic's CLI can be used for a number of things, such
90+
as creating production builds of an app, running the development server, and accessing{' '}
9191
<a href="https://ionic.io/appflow" target="_blank">
9292
Ionic commercial services
9393
</a>

0 commit comments

Comments
 (0)