Skip to content

chore: prettier formatting #2979

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/angular/lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ In addition to the Angular life cycle events, Ionic Angular provides a few addit
| Event Name | Description |
| ------------------ | ------------------------------------------------------------------ |
| `ionViewWillEnter` | Fired when the component routing to is about to animate into view. |
| `ionViewDidEnter` | Fired when the component routing to has *finished* animating. |
| `ionViewWillLeave` | Fired when the component routing *from* is about to animate. |
| `ionViewDidLeave` | Fired when the component routing *from* has *finished* animating. |
| `ionViewDidEnter` | Fired when the component routing to has _finished_ animating. |
| `ionViewWillLeave` | Fired when the component routing _from_ is about to animate. |
| `ionViewDidLeave` | Fired when the component routing _from_ has _finished_ animating. |

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.

Expand Down
6 changes: 3 additions & 3 deletions docs/react/lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Ionic provides a few lifecycle methods that you can use in your apps:
| Event Name | Description |
| ------------------ | ------------------------------------------------------------------ |
| `ionViewWillEnter` | Fired when the component routing to is about to animate into view. |
| `ionViewDidEnter` | Fired when the component routing to has *finished* animating. |
| `ionViewWillLeave` | Fired when the component routing *from* is about to animate. |
| `ionViewDidLeave` | Fired when the component routing *from* has *finished* animating. |
| `ionViewDidEnter` | Fired when the component routing to has _finished_ animating. |
| `ionViewWillLeave` | Fired when the component routing _from_ is about to animate. |
| `ionViewDidLeave` | Fired when the component routing _from_ has _finished_ animating. |

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.

Expand Down
4 changes: 2 additions & 2 deletions docs/reference/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ title: Glossary
A CLI, or <strong>C</strong>ommand-<strong>L</strong>ine <strong>I</strong>nterface, is a text-based interface for
interacting with a program. The common command-line app for a Mac user is the Terminal app, and Windows users often
use Command Prompt. The Ionic community often uses this term to refer to{' '}
<a href="https://ionicframework.com/docs/cli">Ionic's CLI</a>. Ionic's CLI can be used for a number of things,
such as creating production builds of an app, running the development server, and accessing{' '}
<a href="https://ionicframework.com/docs/cli">Ionic's CLI</a>. Ionic's CLI can be used for a number of things, such
as creating production builds of an app, running the development server, and accessing{' '}
<a href="https://ionic.io/appflow" target="_blank">
Ionic commercial services
</a>
Expand Down
8 changes: 4 additions & 4 deletions docs/vue/lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ This guide discusses how to use the Ionic Framework Lifecycle events in an Ionic
## Ionic Framework Lifecycle Methods

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

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.

Expand Down
10 changes: 1 addition & 9 deletions docs/vue/navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,15 +416,7 @@ Let's start by taking a look at our `Tabs` component:
</template>

<script lang="ts">
import {
IonTabBar,
IonTabButton,
IonTabs,
IonLabel,
IonIcon,
IonPage,
IonRouterOutlet,
} from '@ionic/vue';
import { IonTabBar, IonTabButton, IonTabs, IonLabel, IonIcon, IonPage, IonRouterOutlet } from '@ionic/vue';
import { ellipse, square, triangle } from 'ionicons/icons';

export default {
Expand Down
2 changes: 1 addition & 1 deletion src/components/global/Playground/stackblitz.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface EditorOptions {
*/
dependencies?: {
[key: string]: string;
}
};

/**
* `true` if `ion-app` and `ion-content` should automatically be injected into the
Expand Down
6 changes: 2 additions & 4 deletions versioned_docs/version-v5/api/item.md
Original file line number Diff line number Diff line change
Expand Up @@ -1039,8 +1039,7 @@ export class ItemExample {
<ion-label class="ion-text-wrap">
Multiline text that should wrap when it is too long to fit on one line in the item.
</ion-label>
</ion-item>,
<ion-item>
</ion-item>,<ion-item>
<ion-label class="ion-text-wrap">
<ion-text color="primary">
<h3>H3 Primary Title</h3>
Expand All @@ -1050,8 +1049,7 @@ export class ItemExample {
<p>Paragraph line 2 secondary</p>
</ion-text>
</ion-label>
</ion-item>
,
</ion-item>,
<ion-item lines="full">
<ion-label>Item with Full Lines</ion-label>
</ion-item>
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-v5/native/background-fetch.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ For more detail, please see https://github.com/transistorsoft/cordova-plugin-bac
>
<TabItem value="Capacitor">
<CodeBlock className="language-shell">
$ npm install cordova-plugin-background-fetch {'\n'}$ npm install @awesome-cordova-plugins/background-fetch {'\n'}$
ionic cap sync
$ npm install cordova-plugin-background-fetch {'\n'}$ npm install @awesome-cordova-plugins/background-fetch {'\n'}
$ ionic cap sync
</CodeBlock>
</TabItem>
<TabItem value="Cordova">
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-v5/native/bluetooth-serial.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ This plugin enables serial communication over Bluetooth. It was written for comm
>
<TabItem value="Capacitor">
<CodeBlock className="language-shell">
$ npm install cordova-plugin-bluetooth-serial {'\n'}$ npm install @awesome-cordova-plugins/bluetooth-serial {'\n'}$
ionic cap sync
$ npm install cordova-plugin-bluetooth-serial {'\n'}$ npm install @awesome-cordova-plugins/bluetooth-serial {'\n'}
$ ionic cap sync
</CodeBlock>
</TabItem>
<TabItem value="Cordova">
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-v5/native/document-scanner.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ This plugin processes images of documents, compensating for perspective.
>
<TabItem value="Capacitor">
<CodeBlock className="language-shell">
$ npm install cordova-plugin-document-scanner {'\n'}$ npm install @awesome-cordova-plugins/document-scanner {'\n'}$
ionic cap sync
$ npm install cordova-plugin-document-scanner {'\n'}$ npm install @awesome-cordova-plugins/document-scanner {'\n'}
$ ionic cap sync
</CodeBlock>
</TabItem>
<TabItem value="Cordova">
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-v5/native/firebase-vision.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ Cordova plugin for Firebase MLKit Vision
>
<TabItem value="Capacitor">
<CodeBlock className="language-shell">
$ npm install cordova-plugin-firebase-mlvision {'\n'}$ npm install @awesome-cordova-plugins/firebase-vision {'\n'}$
ionic cap sync
$ npm install cordova-plugin-firebase-mlvision {'\n'}$ npm install @awesome-cordova-plugins/firebase-vision {'\n'}
$ ionic cap sync
</CodeBlock>
</TabItem>
<TabItem value="Cordova">
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-v5/native/google-analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ Prerequisites:
>
<TabItem value="Capacitor">
<CodeBlock className="language-shell">
$ npm install cordova-plugin-google-analytics {'\n'}$ npm install @awesome-cordova-plugins/google-analytics {'\n'}$
ionic cap sync
$ npm install cordova-plugin-google-analytics {'\n'}$ npm install @awesome-cordova-plugins/google-analytics {'\n'}
$ ionic cap sync
</CodeBlock>
</TabItem>
<TabItem value="Cordova">
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-v5/reference/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
A CLI, or <strong>C</strong>ommand-<strong>L</strong>ine <strong>I</strong>nterface, is a text-based interface for
interacting with a program. The common command-line app for a Mac user is the Terminal app, and Windows users often
use Command Prompt. The Ionic community often uses this term to refer to{' '}
<a href="https://ionicframework.com/docs/cli">Ionic's CLI</a>. Ionic's CLI can be used for a number of things,
such as creating production builds of an app, running the development server, and accessing{' '}
<a href="https://ionicframework.com/docs/cli">Ionic's CLI</a>. Ionic's CLI can be used for a number of things, such
as creating production builds of an app, running the development server, and accessing{' '}
<a href="https://ionic.io/appflow" target="_blank">
Ionic commercial services
</a>
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-v6/developing/android.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The Android SDK ships with <a href="https://developer.android.com/studio/command

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

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**.
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**.

```shell
$ export ANDROID_SDK_ROOT=$HOME/Library/Android/sdk
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-v6/reference/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ title: Glossary
A CLI, or <strong>C</strong>ommand-<strong>L</strong>ine <strong>I</strong>nterface, is a text-based interface for
interacting with a program. The common command-line app for a Mac user is the Terminal app, and Windows users often
use Command Prompt. The Ionic community often uses this term to refer to{' '}
<a href="https://ionicframework.com/docs/cli">Ionic's CLI</a>. Ionic's CLI can be used for a number of things,
such as creating production builds of an app, running the development server, and accessing{' '}
<a href="https://ionicframework.com/docs/cli">Ionic's CLI</a>. Ionic's CLI can be used for a number of things, such
as creating production builds of an app, running the development server, and accessing{' '}
<a href="https://ionic.io/appflow" target="_blank">
Ionic commercial services
</a>
Expand Down