From f388549a7a0b9ff7449801b2024726cc91755026 Mon Sep 17 00:00:00 2001 From: Sean Perkins Date: Tue, 30 May 2023 14:39:19 -0400 Subject: [PATCH 1/2] chore: prettier formatting --- docs/angular/lifecycle.md | 6 +++--- docs/angular/navigation.md | 4 ---- docs/react/lifecycle.md | 6 +++--- docs/reference/glossary.md | 4 ++-- docs/vue/lifecycle.md | 8 ++++---- docs/vue/navigation.md | 10 +--------- src/components/global/Playground/stackblitz.utils.ts | 2 +- versioned_docs/version-v5/angular/navigation.md | 4 ---- versioned_docs/version-v5/api/item.md | 6 ++---- versioned_docs/version-v5/native/background-fetch.md | 4 ++-- versioned_docs/version-v5/native/bluetooth-serial.md | 4 ++-- versioned_docs/version-v5/native/document-scanner.md | 4 ++-- versioned_docs/version-v5/native/firebase-vision.md | 4 ++-- versioned_docs/version-v5/native/google-analytics.md | 4 ++-- versioned_docs/version-v5/reference/glossary.md | 4 ++-- versioned_docs/version-v6/developing/android.md | 2 +- versioned_docs/version-v6/reference/glossary.md | 4 ++-- 17 files changed, 31 insertions(+), 49 deletions(-) diff --git a/docs/angular/lifecycle.md b/docs/angular/lifecycle.md index ddb7b902fbb..0f981e64dc3 100644 --- a/docs/angular/lifecycle.md +++ b/docs/angular/lifecycle.md @@ -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. diff --git a/docs/angular/navigation.md b/docs/angular/navigation.md index eb05502309c..9ad675058a0 100644 --- a/docs/angular/navigation.md +++ b/docs/angular/navigation.md @@ -118,10 +118,6 @@ export class LoginComponent { Both options provide the same navigation mechanism, just fitting different use cases. -:::note -A note on navigation with relative URLs: Currently, to support multiple navigation stacks, relative URLs are something not supported -::: - ### Navigating using LocationStrategy.historyGo 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. diff --git a/docs/react/lifecycle.md b/docs/react/lifecycle.md index 9d348b95013..b717c5f0606 100644 --- a/docs/react/lifecycle.md +++ b/docs/react/lifecycle.md @@ -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. diff --git a/docs/reference/glossary.md b/docs/reference/glossary.md index 9199d571c1c..1d70bd176dc 100644 --- a/docs/reference/glossary.md +++ b/docs/reference/glossary.md @@ -86,8 +86,8 @@ title: Glossary A CLI, or Command-Line Interface, 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{' '} - Ionic's CLI. 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{' '} + Ionic's CLI. 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{' '} Ionic commercial services diff --git a/docs/vue/lifecycle.md b/docs/vue/lifecycle.md index b9f16fc9cad..d18b3bc5653 100644 --- a/docs/vue/lifecycle.md +++ b/docs/vue/lifecycle.md @@ -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. diff --git a/docs/vue/navigation.md b/docs/vue/navigation.md index 205e146cec9..1286ab01537 100644 --- a/docs/vue/navigation.md +++ b/docs/vue/navigation.md @@ -416,15 +416,7 @@ Let's start by taking a look at our `Tabs` component: