diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dc8538349ba..232eef4c28c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -380,8 +380,13 @@ The archived URL has to point at a build that _included_ ``, so you b Everything from here on refers to ``: 2. **Build ``.** Make sure it is in `versions.json`. If you are refreshing an already-archived version, move it out of `versionsArchived.json` and back into `versions.json`, and add it back to the generation scripts in step 10. Commit, push and let Vercel deploy. -3. **Promote the deployment.** In the Vercel dashboard, open that deployment and **Promote to Production** so it does not get cleaned up. Wait for the build to finish before pushing again, or it may get canceled. -4. **Copy its URL.** Use the deployment's unique `ionic-docs--ionic1.vercel.app` URL, not the branch or production alias. +3. **Alias the deployment.** Vercel's retention policy deletes old deployments, and promoting one to production does not protect it, since the next `main` deploy takes the production alias away. A preview deployment with its own alias is kept. Wait for the build to finish before pushing again, or it may get canceled. Then copy the deployment's unique `ionic-docs--ionic1.vercel.app` URL from the Vercel dashboard and run: + + ```shell + npx vercel alias set ionic-docs--ionic1.vercel.app ionic-docs-.vercel.app --scope ionic + ``` + +4. **Use the alias as its URL.** Link to `https://ionic-docs-.vercel.app`, never the deployment URL, so a rebuild only has to move the alias. 5. **Archive it.** Remove `` from `versions.json`, then add it to `versionsArchived.json` with `/docs/` appended and no trailing slash (a trailing slash causes a brief 404 flash): _`versions.json`_ @@ -398,9 +403,10 @@ Everything from here on refers to ``: ```json { - "": "https://ionic-docs--ionic1.vercel.app/docs/", - "v6": "https://ionic-docs-lq0if04rc-ionic1.vercel.app/docs/v6", - "v5": "https://ionic-docs-5utg8ms4c-ionic1.vercel.app/docs/v5" + "": "https://ionic-docs-.vercel.app/docs/", + "v7": "https://ionic-docs-v7.vercel.app/docs/v7", + "v6": "https://ionic-docs-v6.vercel.app/docs/v6", + "v5": "https://ionic-docs-v5.vercel.app/docs/v5" } ``` diff --git a/docs/api/input.mdx b/docs/api/input.mdx index 5190ef20d64..7818963dcfa 100644 --- a/docs/api/input.mdx +++ b/docs/api/input.mdx @@ -106,7 +106,7 @@ import HelperError from '@site/static/usage/v9/input/helper-error/index.mdx'; The input counter is text that displays under an input to notify the user of how many characters have been entered out of the total that the input will accept. When adding counter, the default behavior is to format the value that gets displayed as `inputLength` / `maxLength`. This behavior can be customized by passing in a formatter function to the `counterFormatter` property. -The `counter` and `counterFormatter` properties on `ion-item` were [deprecated in Ionic 7](https://ionic-docs-mt82qcyb0-ionic1.vercel.app/docs/v7/api/input#using-the-modern-syntax) and should be used directly on `ion-input` instead. +The `counter` and `counterFormatter` properties on `ion-item` were [deprecated in Ionic 7](https://ionic-docs-v7.vercel.app/docs/v7/api/input#using-the-modern-syntax) and should be used directly on `ion-input` instead. import Counter from '@site/static/usage/v9/input/counter/index.mdx'; diff --git a/docs/developing/android.mdx b/docs/developing/android.mdx index 2cda305d070..295b956a649 100644 --- a/docs/developing/android.mdx +++ b/docs/developing/android.mdx @@ -13,7 +13,7 @@ import DocsCards from '@components/global/DocsCards'; :::info[Looking for the legacy Android guide?] -The Developing for Android guide has officially migrated to the [Capacitor documentation for Android](https://capacitorjs.com/docs/android). If you need to access the legacy documentation, you can find it under the [legacy developing for Android guide](https://ionic-docs-fo03f34h5-ionic1.vercel.app/docs/v6/developing/android). +The Developing for Android guide has officially migrated to the [Capacitor documentation for Android](https://capacitorjs.com/docs/android). If you need to access the legacy documentation, you can find it under the [legacy developing for Android guide](https://ionic-docs-v6.vercel.app/docs/v6/developing/android). ::: @@ -27,7 +27,7 @@ The Developing for Android guide has officially migrated to the [Capacitor docum

Learn the fundamentals you need to know to start building Android apps with Ionic Framework and Cordova.

diff --git a/docs/developing/ios.mdx b/docs/developing/ios.mdx index 37421a3e3af..34976e27e09 100644 --- a/docs/developing/ios.mdx +++ b/docs/developing/ios.mdx @@ -14,7 +14,7 @@ import DocsCards from '@components/global/DocsCards'; :::info[Looking for the legacy iOS guide?] -The Developing for iOS guide has officially migrated to the [Capacitor documentation for iOS](https://capacitorjs.com/docs/ios). If you need to access the legacy documentation, you can find it under the [legacy developing for iOS guide](https://ionic-docs-fo03f34h5-ionic1.vercel.app/docs/v6/developing/ios). +The Developing for iOS guide has officially migrated to the [Capacitor documentation for iOS](https://capacitorjs.com/docs/ios). If you need to access the legacy documentation, you can find it under the [legacy developing for iOS guide](https://ionic-docs-v6.vercel.app/docs/v6/developing/ios). ::: @@ -28,7 +28,7 @@ The Developing for iOS guide has officially migrated to the [Capacitor documenta

Learn the fundamentals you need to know to start building iOS apps with Ionic Framework and Cordova.

diff --git a/docs/updating/8-0.mdx b/docs/updating/8-0.mdx index 06c980aa6c5..70f7f0f8499 100644 --- a/docs/updating/8-0.mdx +++ b/docs/updating/8-0.mdx @@ -220,13 +220,13 @@ iOS >=15 ### Checkbox {/* #checkbox */} -1. Migrate any remaining instances of Checkbox to use the [modern form control syntax](https://ionic-docs-mt82qcyb0-ionic1.vercel.app/docs/v7/api/checkbox#migrating-from-legacy-checkbox-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. +1. Migrate any remaining instances of Checkbox to use the [modern form control syntax](https://ionic-docs-v7.vercel.app/docs/v7/api/checkbox#migrating-from-legacy-checkbox-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. ### Input {/* #input */} 1. Remove any usages of the `size` property. CSS should be used to specify the visible width of the input instead. 2. Remove any usages of the `accept` property. -3. Migrate any remaining instances of Input to use the [modern form control syntax](https://ionic-docs-mt82qcyb0-ionic1.vercel.app/docs/v7/api/input#migrating-from-legacy-input-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. +3. Migrate any remaining instances of Input to use the [modern form control syntax](https://ionic-docs-v7.vercel.app/docs/v7/api/input#migrating-from-legacy-input-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. ### Item {/* #item */} @@ -248,19 +248,19 @@ iOS >=15 ### Radio {/* #radio */} -1. Migrate any remaining instances of Radio to use the [modern form control syntax](https://ionic-docs-mt82qcyb0-ionic1.vercel.app/docs/v7/api/radio#migrating-from-legacy-radio-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. +1. Migrate any remaining instances of Radio to use the [modern form control syntax](https://ionic-docs-v7.vercel.app/docs/v7/api/radio#migrating-from-legacy-radio-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. ### Select {/* #select */} -1. Migrate any remaining instances of Select to use the [modern form control syntax](https://ionic-docs-mt82qcyb0-ionic1.vercel.app/docs/v7/api/select#migrating-from-legacy-select-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. +1. Migrate any remaining instances of Select to use the [modern form control syntax](https://ionic-docs-v7.vercel.app/docs/v7/api/select#migrating-from-legacy-select-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. ### Textarea {/* #textarea */} -1. Migrate any remaining instances of Textarea to use the [modern form control syntax](https://ionic-docs-mt82qcyb0-ionic1.vercel.app/docs/v7/api/textarea#migrating-from-legacy-textarea-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. +1. Migrate any remaining instances of Textarea to use the [modern form control syntax](https://ionic-docs-v7.vercel.app/docs/v7/api/textarea#migrating-from-legacy-textarea-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. ### Toggle {/* #toggle */} -1. Migrate any remaining instances of Toggle to use the [modern form control syntax](https://ionic-docs-mt82qcyb0-ionic1.vercel.app/docs/v7/api/toggle#migrating-from-legacy-toggle-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. +1. Migrate any remaining instances of Toggle to use the [modern form control syntax](https://ionic-docs-v7.vercel.app/docs/v7/api/toggle#migrating-from-legacy-toggle-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. ## Need Help Upgrading? {/* #need-help-upgrading */} diff --git a/plugins/docusaurus-plugin-ionic-component-api/index.js b/plugins/docusaurus-plugin-ionic-component-api/index.js index da189cf7d67..64094b6e933 100644 --- a/plugins/docusaurus-plugin-ionic-component-api/index.js +++ b/plugins/docusaurus-plugin-ionic-component-api/index.js @@ -32,16 +32,21 @@ module.exports = function (context, options) { * @param {*} isCurrentVersion Whether or not this is the current version of the docs */ const generateMarkdownForVersion = async (version, npmTag, lang, isCurrentVersion) => { - let COMPONENT_LINK_REGEXP; const response = isCurrentVersion && lang === 'ja' ? await fetch(`https://raw.githubusercontent.com/ionic-jp/ionic-docs/main/scripts/data/translated-api.json`) : await fetch(`https://unpkg.com/@ionic/docs@${npmTag}/core.json`); - const { components } = JSON.parse(dropBaseUrl(await response.text())); + const json = dropBaseUrl(await response.text()); - const names = components.map((component) => component.tag.slice(4)); - // matches all relative markdown links to a component, e.g. (../button) - COMPONENT_LINK_REGEXP = new RegExp(`\\(../(${names.join('|')})/?(#[^)]+)?\\)`, 'g'); + /** + * Some API data links one component to another relatively, for example + * `[Picker API docs](../picker)`. Pages are served without a trailing + * slash, so `../picker` on `api/datetime` resolves outside `api/`. + * Rewriting it to `./picker` keeps it on the component's page. + */ + const names = JSON.parse(json).components.map((component) => component.tag.slice(4)); + const componentLink = new RegExp(`\\(\\.\\./(${names.join('|')})/?(#[^)]+)?\\)`, 'g'); + const { components } = JSON.parse(json.replace(componentLink, '(./$1$2)')); components.forEach((comp) => { const compTag = comp.tag.slice(4); diff --git a/vercel.json b/vercel.json index d69e30db4ed..292a05ad91b 100644 --- a/vercel.json +++ b/vercel.json @@ -1173,7 +1173,7 @@ "destination": "/docs/angular/overview" }, { - "source": "/docs/:version(v6|v7|v8)/angular", + "source": "/docs/:version(v5|v6|v7|v8)/angular", "destination": "/docs/:version/angular/overview" }, { @@ -1253,7 +1253,7 @@ "destination": "/docs/vue/overview" }, { - "source": "/docs/:version(v6|v7|v8)/vue", + "source": "/docs/:version(v5|v6|v7|v8)/vue", "destination": "/docs/:version/vue/overview" }, { "source": "/docs/vue/your-first-app/2-taking-photos", "destination": "/docs/vue/your-first-app/taking-photos" }, diff --git a/versioned_docs/version-v5/reference/glossary.mdx b/versioned_docs/version-v5/reference/glossary.mdx index 99277d6f5bb..6ea7734bdb7 100644 --- a/versioned_docs/version-v5/reference/glossary.mdx +++ b/versioned_docs/version-v5/reference/glossary.mdx @@ -2,545 +2,425 @@
-
- -

Android SDK

-
-

- The{' '} - - Android SDK - {' '} - is a software development kit built for developers building for Google's Android Platform. It includes tools for - building, testing, and debugging Android applications. -

-
- -
- -

Android Studio

-
-

- - Android Studio - {' '} - is the official Integrated Development Environment (IDE) for Native Android app development. -

-
- -
- -

Autoprefixer

-
-

- - Autoprefixer - {' '} - is a tool that adds vendor-specific-prefixes to hand-written Sass/CSS code. This ensures that standardized CSS rules - you write will be applied across all supporting browsers. For example, instead of having to know every flexbox - syntax used by various browsers, autoprefixer allows you to just write display: flex; and it'll - automatically plug in the correct CSS. -

-
- -
- -

Bundling

-
-

- Bundling is the process of taking an app's dependencies (code you've written plus any npm modules installed) and - compiling/transpiling them down to one single file. -

-
- -
- -

Capacitor

-
-

- - Capacitor - {' '} - is an open source cross-platform app runtime that allows web-based apps to run natively on iOS, Android, Electron, - and the web. It's helpful to refer to these apps "Native Progressive Web Apps" and they represent the next evolution - beyond the traditional Hybrid app mentality. Capacitor was created and is actively developed/supported by Ionic, the - company. -

-
+### Android SDK {/* #android-sdk */} + +

+ The{' '} + + Android SDK + {' '} + is a software development kit built for developers building for Google's Android Platform. It includes tools for + building, testing, and debugging Android applications. +

+ +### Android Studio {/* #android-studio */} + +

+ + Android Studio + {' '} + is the official Integrated Development Environment (IDE) for Native Android app development. +

+ +### Autoprefixer {/* #autoprefixer */} + +

+ + Autoprefixer + {' '} + is a tool that adds vendor-specific-prefixes to hand-written Sass/CSS code. This ensures that standardized CSS rules + you write will be applied across all supporting browsers. For example, instead of having to know every flexbox + syntax used by various browsers, autoprefixer allows you to just write display: flex; and it'll + automatically plug in the correct CSS. +

+ +### Bundling {/* #bundling */} + +

+ Bundling is the process of taking an app's dependencies (code you've written plus any npm modules installed) and + compiling/transpiling them down to one single file. +

+ +### Capacitor {/* #capacitor */} + +

+ + Capacitor + {' '} + is an open source cross-platform app runtime that allows web-based apps to run natively on iOS, Android, Electron, + and the web. It's helpful to refer to these apps "Native Progressive Web Apps" and they represent the next evolution + beyond the traditional Hybrid app mentality. Capacitor was created and is actively developed/supported by Ionic, the + company. +

{/* cspell:disable */} -
- -

CLI

+### CLI {/* #cli */} + +

+ 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 commercial services -

- 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 commercial services - - . -

-
+ . +

{/* cspell:enable */} -
- -

CommonJS

-
-

- - CommonJS - {' '} - is a group that defines standard formats for JavaScript APIs. They have defined standards for JavaScript modules and - packages. -

-
- -
- -

Cordova

-
-

- - Apache Cordova - {' '} - is an open source mobile application development framework that transforms standard HTML/CSS/JS into full-fledged - native apps. It provides a JavaScript API for accessing native device functionality, such as the camera or - accelerometer. Cordova contains the necessary build tools for packaging webapps for iOS, Android, and Windows Phone. -

-
- -
- -

CORS

-
-

- - CORS - {' '} - (Cross-Origin Resource Sharing) is a mechanism for servers to control client access to web assets. See the{' '} - CORS FAQs for more information. -

-
- -
- -

CSS Variables

-
-

- You may be familiar with variables from Sass.{' '} - - CSS Variables - {' '} - enable the same functionality but are built into the browser. CSS Variables are available in all evergreen browsers. -

-
- -
- -

Decorators

-
-

- Decorators are expressions that return a function. They allow you to take an existing function, and extend its - behavior. With TypeScript, you can also decorate classes and parameters. When you decorate a{' '} - class, you are wrapping and extending the behavior of its constructor. In other words, the - decorator will add some functionality when the constructor is called, and will then return the original constructor. - When you decorate a parameter, you are wrapping the argument that gets passed in for that - parameter. The decorator will add functionality when an argument is passed to the method, and then return the - original argument. -

-
- -
- -

ES5

-
-

- ES5 refers to EcmaScript 5th Edition. A simple way to put it is that ES5 is the version of JavaScript which - developers are most familiar with today. -

-
- -
- -

ES2015/ES6

-
-

- A wide range of new features were introduced in this version of JavaScript, including classes, modules, iterators, - and promises. Evergreen browsers (Chrome, Safari, Firefox and Edge) have full support for ES6, but to use ES6 - features in older browsers, tools such as Babel and TypeScript have - to transpile ES6 code down to ES5. -

-
- -
- -

ES2016/ES7

-
-

- This version of JavaScript added a number of new features to the language, including Array.includes and - the exponentiation operator. This version of JavaScript is fully supported by all evergreen browsers (Chrome, - Safari, Firefox and Edge) -

-
- -
- -

ES2017/ES8

-
-

- This version of JavaScript is the latest standard. It is currently in the final stage before becoming the new - official standard. This spec includes Async/Await (already in all evergreen browsers) and shared memory/atomics. -

-
- -
- -

Genymotion

-
-

- Genymotion is a third-party Android emulator. It is extremely fast, and is useful for quickly testing your app on - Android. Check out our resource section on Genymotion for - more info. -

-
- -
- -

Git

-
-

- - Git - {' '} - is a distributed version control system for managing code. It allows development teams to contribute code to the - same project without causing code conflicts. -

-
- -
- -

Gulp

-
-

- - Gulp - {' '} - is a tool for running tasks which can be used to build your app. Common build tasks include transpiling{' '} - ES6 to ES5, turning Sass into CSS, minifying code, - and concatenating files. -

-
- -
- -

ES Modules

-
-

- - ES Modules - {' '} - brings the concept of modules natively to JavaScript. With modules, classes and variables are no longer in the - global scope and have to be explicitly imported into your project to be used. This makes it much easier to - understand where your code is coming from and increases modularity and compartmentalization of functionality. -

-
- -
- -

Ionicons

-
-

- - Ionicons - {' '} - is an open-source icon set used and created by Ionic. It includes 1:1 iOS and Material Design icons, as well as - commonly used social/application icons. Ionicons is included by default in Ionic distributions, but they can also be - used in any project. -

-
- -
- -

Karma

-
-

- - Karma - {' '} - is a test runner that will run an app's test inside a real browser. It executes test cases, written in any testing - framework, in a real browser. Karma was originally written for use with Angular 1. -

-
- -
- -

Module

-
-

- Modules in JavaScript are small, independent, and reusable pieces or code that are isolated from one another and the - Global scope. -

-
- -
- -

Monorepo

-
-

- A monorepo is a single git repository with multiple projects. Advantages include simpler - organization, shared tooling and dependencies, and better collaboration with teammates. -

-
- -
- -

Live Reload

-
-

- Live Reload (or live-reload) is a tool that automatically reloads the browser or{' '} - Web View when it detects changes in your app. In some cases, it can replace - parts of your app without having to reload the entire window. See the{' '} - Live Reload docs for more information. -

-
- -
- -

Node

-
-

- - Node - {' '} - is a runtime environment that allows JavaScript to be written on the server-side. In addition to being used for web - services, node is often used to build developer tools, such as the Ionic CLI. -

-
- -
- -

npm

-
-

- - npm - {' '} - is the package manager for node. It allows developers to install, share, and package node - modules. Ionic can be installed with npm, along with a number of its dependencies. -

-
- -
- -

Observable

-
-

- An observable is an object that emits events (or notifications). An observer is an object that listens for these - events, and does something when an event is received. Together, they create a pattern that can be used for - programming asynchronously. -

-
- -
- -

Package ID

-
-

- Referred to by Apple as Bundle ID and by Android as Application ID, the{' '} - Package ID is used for identifying apps published to the App Store/Play Store. It is a string - formatted in{' '} - - reverse-DNS notation - - . -

-
- -
- -

Polyfill

-
-

- A{' '} - - polyfill - {' '} - is a bit of code that adds functionality to the browser and normalizes browser differences. This is similar to a{' '} - shim, but where a shim has it's own API, a polyfill let's the expect API of the browser be used. -

-
- -
- -

Protractor

-
-

- - Protractor - {' '} - is a testing framework written for and by the Angular team. Protractor can be used with test runners, like Karma, - for end-to-end testing. Test runners allow you to quickly and programmatically verify code quality. -

-
- -
- -

Sass

-
-

- Sass is a stylesheet language that compiles to CSS and is used by Ionic. Sass is like CSS, but with extra features - such as{' '} - - variables - - , - mixins - , and - loops - . -

-
- -
- -

Scoped Encapsulation

-
-

- A component that uses scoped encapsulation will automatically scope its CSS by appending each of the styles with a - data attribute at run time. Overriding scoped selectors in CSS requires a{' '} - - higher specificity - {' '} - selector. Scoped components can also be styled using{' '} - - CSS Custom Properties - - . -

-
- -
- -

Shadow DOM

-
-

- - Shadow DOM - {' '} - is a native browser solution for DOM and style encapsulation of a component. It shields the component from its - surrounding environment. To externally style internal elements of a Shadow DOM component you must use{' '} - - CSS Custom Properties - {' '} - or{' '} - - CSS Shadow Parts - - . -

-
- -
- -

Shim

-
-

- A shim is a piece of code that normalizes an APIs across browsers. A shim can have it's own API that hides the - browser specific implementation from the end user. -

-
- -
- -

Transpiler

-
-

- Transpilation is the process of converting code from one language to another language prior to execution. Typically, - a transpiler will convert a high-level language to another high-level language. The most common type of{' '} - transpilation in Ionic Framework is converting ES2015/ES6 ( - TypeScript) to ES5 (traditional JavaScript). -

-
- -
- -

TypeScript

-
-

- - TypeScript - {' '} - is a superset of JavaScript, which means it gives you JavaScript, along with a number of extra features such as{' '} - - type declarations - {' '} - and{' '} - - interfaces - - . Although Ionic is built with TypeScript, using it to build an Ionic app is completely optional. -

-
- -
- -

Unit Tests

-
-

- Unit Tests and unit testing are a way to test small pieces of code to see if they behave as expected. Unit testing - frameworks include Jasmine, Mocha, QUnit, and many others. -

-
- -
- -

Webpack

-
-

- - Webpack - {' '} - bundles together JavaScript modules and other assets. It can be used to create single or multiple "chunks" that are - only loaded when needed. Webpack can be used to take many files and dependencies and bundle them into one file, or - other types. -

-
- -
- -

Web Standards

-
-

- The{' '} - - World Wide Web Consortium - {' '} - (W3C) is the standards organization for the Web. Together, industry leaders and the public work together to develop{' '} - - web standards - - , which are a set of protocols, specifications, and technologies that define the Web Platform. -

-
- -
- -

Xcode

-
-

- - Xcode - {' '} - is an Apple IDE (integrated development environment) for software development on Apple operating systems (macOS, - iOS, watchOS and tvOS), with extensions available for other languages and platforms. -

-
+### CommonJS {/* #commonjs */} + +

+ + CommonJS + {' '} + is a group that defines standard formats for JavaScript APIs. They have defined standards for JavaScript modules and + packages. +

+ +### Cordova {/* #cordova */} + +

+ + Apache Cordova + {' '} + is an open source mobile application development framework that transforms standard HTML/CSS/JS into full-fledged + native apps. It provides a JavaScript API for accessing native device functionality, such as the camera or + accelerometer. Cordova contains the necessary build tools for packaging webapps for iOS, Android, and Windows Phone. +

+ +### CORS {/* #cors */} + +

+ + CORS + {' '} + (Cross-Origin Resource Sharing) is a mechanism for servers to control client access to web assets. See the{' '} + CORS FAQs for more information. +

+ +### CSS Variables {/* #css-variables */} + +

+ You may be familiar with variables from Sass.{' '} + + CSS Variables + {' '} + enable the same functionality but are built into the browser. CSS Variables are available in all evergreen browsers. +

+ +### Decorators {/* #decorators */} + +

+ Decorators are expressions that return a function. They allow you to take an existing function, and extend its + behavior. With TypeScript, you can also decorate classes and parameters. When you decorate a{' '} + class, you are wrapping and extending the behavior of its constructor. In other words, the + decorator will add some functionality when the constructor is called, and will then return the original constructor. + When you decorate a parameter, you are wrapping the argument that gets passed in for that + parameter. The decorator will add functionality when an argument is passed to the method, and then return the + original argument. +

+ +### ES5 {/* #es5 */} + +

+ ES5 refers to EcmaScript 5th Edition. A simple way to put it is that ES5 is the version of JavaScript which + developers are most familiar with today. +

+ +### ES2015/ES6 {/* #es2015-es6 */} + +

+ A wide range of new features were introduced in this version of JavaScript, including classes, modules, iterators, + and promises. Evergreen browsers (Chrome, Safari, Firefox and Edge) have full support for ES6, but to use ES6 + features in older browsers, tools such as Babel and TypeScript have + to transpile ES6 code down to ES5. +

+ +### ES2016/ES7 {/* #es2016-es7 */} + +

+ This version of JavaScript added a number of new features to the language, including Array.includes and + the exponentiation operator. This version of JavaScript is fully supported by all evergreen browsers (Chrome, + Safari, Firefox and Edge) +

+ +### ES2017/ES8 {/* #es2017-es8 */} + +

+ This version of JavaScript is the latest standard. It is currently in the final stage before becoming the new + official standard. This spec includes Async/Await (already in all evergreen browsers) and shared memory/atomics. +

+ +### Genymotion {/* #genymotion */} + +

+ Genymotion is a third-party Android emulator. It is extremely fast, and is useful for quickly testing your app on + Android. Check out our resource section on Genymotion for + more info. +

+ +### Git {/* #git */} + +

+ + Git + {' '} + is a distributed version control system for managing code. It allows development teams to contribute code to the + same project without causing code conflicts. +

+ +### Gulp {/* #gulp */} + +

+ + Gulp + {' '} + is a tool for running tasks which can be used to build your app. Common build tasks include transpiling{' '} + ES6 to ES5, turning Sass into CSS, minifying code, + and concatenating files. +

+ +### ES Modules {/* #es-modules */} + +

+ + ES Modules + {' '} + brings the concept of modules natively to JavaScript. With modules, classes and variables are no longer in the + global scope and have to be explicitly imported into your project to be used. This makes it much easier to + understand where your code is coming from and increases modularity and compartmentalization of functionality. +

+ +### Ionicons {/* #ionicons */} + +

+ + Ionicons + {' '} + is an open-source icon set used and created by Ionic. It includes 1:1 iOS and Material Design icons, as well as + commonly used social/application icons. Ionicons is included by default in Ionic distributions, but they can also be + used in any project. +

+ +### Karma {/* #karma */} + +

+ + Karma + {' '} + is a test runner that will run an app's test inside a real browser. It executes test cases, written in any testing + framework, in a real browser. Karma was originally written for use with Angular 1. +

+ +### Module {/* #module */} + +

+ Modules in JavaScript are small, independent, and reusable pieces or code that are isolated from one another and the + Global scope. +

+ +### Monorepo {/* #monorepo */} + +

+ A monorepo is a single git repository with multiple projects. Advantages include simpler + organization, shared tooling and dependencies, and better collaboration with teammates. +

+ +### Live Reload {/* #livereload */} + +

+ Live Reload (or live-reload) is a tool that automatically reloads the browser or{' '} + Web View when it detects changes in your app. In some cases, it can replace + parts of your app without having to reload the entire window. See the{' '} + Live Reload docs for more information. +

+ +### Node {/* #node */} + +

+ + Node + {' '} + is a runtime environment that allows JavaScript to be written on the server-side. In addition to being used for web + services, node is often used to build developer tools, such as the Ionic CLI. +

+ +### npm {/* #npm */} + +

+ + npm + {' '} + is the package manager for node. It allows developers to install, share, and package node + modules. Ionic can be installed with npm, along with a number of its dependencies. +

+ +### Observable {/* #observable */} + +

+ An observable is an object that emits events (or notifications). An observer is an object that listens for these + events, and does something when an event is received. Together, they create a pattern that can be used for + programming asynchronously. +

+ +### Package ID {/* #package-id */} + +

+ Referred to by Apple as Bundle ID and by Android as Application ID, the{' '} + Package ID is used for identifying apps published to the App Store/Play Store. It is a string + formatted in{' '} + + reverse-DNS notation + + . +

+ +### Polyfill {/* #polyfill */} + +

+ A{' '} + + polyfill + {' '} + is a bit of code that adds functionality to the browser and normalizes browser differences. This is similar to a{' '} + shim, but where a shim has it's own API, a polyfill let's the expect API of the browser be used. +

+ +### Protractor {/* #protractor */} + +

+ + Protractor + {' '} + is a testing framework written for and by the Angular team. Protractor can be used with test runners, like Karma, + for end-to-end testing. Test runners allow you to quickly and programmatically verify code quality. +

+ +### Sass {/* #sass */} + +

+ Sass is a stylesheet language that compiles to CSS and is used by Ionic. Sass is like CSS, but with extra features + such as{' '} + + variables + + , + mixins + , and + loops + . +

+ +### Scoped Encapsulation {/* #scoped */} + +

+ A component that uses scoped encapsulation will automatically scope its CSS by appending each of the styles with a + data attribute at run time. Overriding scoped selectors in CSS requires a{' '} + + higher specificity + {' '} + selector. Scoped components can also be styled using{' '} + + CSS Custom Properties + + . +

+ +### Shadow DOM {/* #shadow */} + +

+ + Shadow DOM + {' '} + is a native browser solution for DOM and style encapsulation of a component. It shields the component from its + surrounding environment. To externally style internal elements of a Shadow DOM component you must use{' '} + + CSS Custom Properties + {' '} + or{' '} + + CSS Shadow Parts + + . +

+ +### Shim {/* #shim */} + +

+ A shim is a piece of code that normalizes an APIs across browsers. A shim can have it's own API that hides the + browser specific implementation from the end user. +

+ +### Transpiler {/* #transpiler */} + +

+ Transpilation is the process of converting code from one language to another language prior to execution. Typically, + a transpiler will convert a high-level language to another high-level language. The most common type of{' '} + transpilation in Ionic Framework is converting ES2015/ES6 ( + TypeScript) to ES5 (traditional JavaScript). +

+ +### TypeScript {/* #typescript */} + +

+ + TypeScript + {' '} + is a superset of JavaScript, which means it gives you JavaScript, along with a number of extra features such as{' '} + + type declarations + {' '} + and{' '} + + interfaces + + . Although Ionic is built with TypeScript, using it to build an Ionic app is completely optional. +

+ +### Unit Tests {/* #unit-tests */} + +

+ Unit Tests and unit testing are a way to test small pieces of code to see if they behave as expected. Unit testing + frameworks include Jasmine, Mocha, QUnit, and many others. +

+ +### Webpack {/* #webpack */} + +

+ + Webpack + {' '} + bundles together JavaScript modules and other assets. It can be used to create single or multiple "chunks" that are + only loaded when needed. Webpack can be used to take many files and dependencies and bundle them into one file, or + other types. +

+ +### Web Standards {/* #web-standards */} + +

+ The{' '} + + World Wide Web Consortium + {' '} + (W3C) is the standards organization for the Web. Together, industry leaders and the public work together to develop{' '} + + web standards + + , which are a set of protocols, specifications, and technologies that define the Web Platform. +

+ +### Xcode {/* #xcode */} + +

+ + Xcode + {' '} + is an Apple IDE (integrated development environment) for software development on Apple operating systems (macOS, + iOS, watchOS and tvOS), with extensions available for other languages and platforms. +

diff --git a/versioned_docs/version-v6/reference/glossary.mdx b/versioned_docs/version-v6/reference/glossary.mdx index 02df343abf4..2d50f44881b 100644 --- a/versioned_docs/version-v6/reference/glossary.mdx +++ b/versioned_docs/version-v6/reference/glossary.mdx @@ -12,545 +12,425 @@ title: Glossary
-
- -

Android SDK

-
-

- The{' '} - - Android SDK - {' '} - is a software development kit built for developers building for Google's Android Platform. It includes tools for - building, testing, and debugging Android applications. -

-
- -
- -

Android Studio

-
-

- - Android Studio - {' '} - is the official Integrated Development Environment (IDE) for Native Android app development. -

-
- -
- -

Autoprefixer

-
-

- - Autoprefixer - {' '} - is a tool that adds vendor-specific-prefixes to hand-written Sass/CSS code. This ensures that standardized CSS rules - you write will be applied across all supporting browsers. For example, instead of having to know every flexbox - syntax used by various browsers, autoprefixer allows you to just write display: flex; and it'll - automatically plug in the correct CSS. -

-
- -
- -

Bundling

-
-

- Bundling is the process of taking an app's dependencies (code you've written plus any npm modules installed) and - compiling/transpiling them down to one single file. -

-
- -
- -

Capacitor

-
-

- - Capacitor - {' '} - is an open source cross-platform app runtime that allows web-based apps to run natively on iOS, Android, Electron, - and the web. It's helpful to refer to these apps "Native Progressive Web Apps" and they represent the next evolution - beyond the traditional Hybrid app mentality. Capacitor was created and is actively developed/supported by Ionic, the - company. -

-
+### Android SDK {/* #android-sdk */} + +

+ The{' '} + + Android SDK + {' '} + is a software development kit built for developers building for Google's Android Platform. It includes tools for + building, testing, and debugging Android applications. +

+ +### Android Studio {/* #android-studio */} + +

+ + Android Studio + {' '} + is the official Integrated Development Environment (IDE) for Native Android app development. +

+ +### Autoprefixer {/* #autoprefixer */} + +

+ + Autoprefixer + {' '} + is a tool that adds vendor-specific-prefixes to hand-written Sass/CSS code. This ensures that standardized CSS rules + you write will be applied across all supporting browsers. For example, instead of having to know every flexbox + syntax used by various browsers, autoprefixer allows you to just write display: flex; and it'll + automatically plug in the correct CSS. +

+ +### Bundling {/* #bundling */} + +

+ Bundling is the process of taking an app's dependencies (code you've written plus any npm modules installed) and + compiling/transpiling them down to one single file. +

+ +### Capacitor {/* #capacitor */} + +

+ + Capacitor + {' '} + is an open source cross-platform app runtime that allows web-based apps to run natively on iOS, Android, Electron, + and the web. It's helpful to refer to these apps "Native Progressive Web Apps" and they represent the next evolution + beyond the traditional Hybrid app mentality. Capacitor was created and is actively developed/supported by Ionic, the + company. +

{/* cspell:disable */} -
- -

CLI

+### CLI {/* #cli */} + +

+ 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 commercial services -

- 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 commercial services - - . -

-
+ . +

{/* cspell:enable */} -
- -

CommonJS

-
-

- - CommonJS - {' '} - is a group that defines standard formats for JavaScript APIs. They have defined standards for JavaScript modules and - packages. -

-
- -
- -

Cordova

-
-

- - Apache Cordova - {' '} - is an open source mobile application development framework that transforms standard HTML/CSS/JS into full-fledged - native apps. It provides a JavaScript API for accessing native device functionality, such as the camera or - accelerometer. Cordova contains the necessary build tools for packaging webapps for iOS, Android, and Windows Phone. -

-
- -
- -

CORS

-
-

- - CORS - {' '} - (Cross-Origin Resource Sharing) is a mechanism for servers to control client access to web assets. See the{' '} - CORS FAQs for more information. -

-
- -
- -

CSS Variables

-
-

- You may be familiar with variables from Sass.{' '} - - CSS Variables - {' '} - enable the same functionality but are built into the browser. CSS Variables are available in all evergreen browsers. -

-
- -
- -

Decorators

-
-

- Decorators are expressions that return a function. They allow you to take an existing function, and extend its - behavior. With TypeScript, you can also decorate classes and parameters. When you decorate a{' '} - class, you are wrapping and extending the behavior of its constructor. In other words, the - decorator will add some functionality when the constructor is called, and will then return the original constructor. - When you decorate a parameter, you are wrapping the argument that gets passed in for that - parameter. The decorator will add functionality when an argument is passed to the method, and then return the - original argument. -

-
- -
- -

ES5

-
-

- ES5 refers to EcmaScript 5th Edition. A simple way to put it is that ES5 is the version of JavaScript which - developers are most familiar with today. -

-
- -
- -

ES2015/ES6

-
-

- A wide range of new features were introduced in this version of JavaScript, including classes, modules, iterators, - and promises. Evergreen browsers (Chrome, Safari, Firefox and Edge) have full support for ES6, but to use ES6 - features in older browsers, tools such as Babel and TypeScript have - to transpile ES6 code down to ES5. -

-
- -
- -

ES2016/ES7

-
-

- This version of JavaScript added a number of new features to the language, including Array.includes and - the exponentiation operator. This version of JavaScript is fully supported by all evergreen browsers (Chrome, - Safari, Firefox and Edge) -

-
- -
- -

ES2017/ES8

-
-

- This version of JavaScript is the latest standard. It is currently in the final stage before becoming the new - official standard. This spec includes Async/Await (already in all evergreen browsers) and shared memory/atomics. -

-
- -
- -

Genymotion

-
-

- Genymotion is a third-party Android emulator. It is extremely fast, and is useful for quickly testing your app on - Android. Check out our resource section on Genymotion for - more info. -

-
- -
- -

Git

-
-

- - Git - {' '} - is a distributed version control system for managing code. It allows development teams to contribute code to the - same project without causing code conflicts. -

-
- -
- -

Gulp

-
-

- - Gulp - {' '} - is a tool for running tasks which can be used to build your app. Common build tasks include transpiling{' '} - ES6 to ES5, turning Sass into CSS, minifying code, - and concatenating files. -

-
- -
- -

ES Modules

-
-

- - ES Modules - {' '} - brings the concept of modules natively to JavaScript. With modules, classes and variables are no longer in the - global scope and have to be explicitly imported into your project to be used. This makes it much easier to - understand where your code is coming from and increases modularity and compartmentalization of functionality. -

-
- -
- -

Ionicons

-
-

- - Ionicons - {' '} - is an open-source icon set used and created by Ionic. It includes 1:1 iOS and Material Design icons, as well as - commonly used social/application icons. Ionicons is included by default in Ionic distributions, but they can also be - used in any project. -

-
- -
- -

Karma

-
-

- - Karma - {' '} - is a test runner that will run an app's test inside a real browser. It executes test cases, written in any testing - framework, in a real browser. Karma was originally written for use with Angular 1. -

-
- -
- -

Module

-
-

- Modules in JavaScript are small, independent, and reusable pieces or code that are isolated from one another and the - Global scope. -

-
- -
- -

Monorepo

-
-

- A monorepo is a single git repository with multiple projects. Advantages include simpler - organization, shared tooling and dependencies, and better collaboration with teammates. -

-
- -
- -

Live Reload

-
-

- Live Reload (or live-reload) is a tool that automatically reloads the browser or{' '} - Web View when it detects changes in your app. In some cases, it can replace - parts of your app without having to reload the entire window. See the{' '} - Live Reload docs for more information. -

-
- -
- -

Node

-
-

- - Node - {' '} - is a runtime environment that allows JavaScript to be written on the server-side. In addition to being used for web - services, node is often used to build developer tools, such as the Ionic CLI. -

-
- -
- -

npm

-
-

- - npm - {' '} - is the package manager for node. It allows developers to install, share, and package node - modules. Ionic can be installed with npm, along with a number of its dependencies. -

-
- -
- -

Observable

-
-

- An observable is an object that emits events (or notifications). An observer is an object that listens for these - events, and does something when an event is received. Together, they create a pattern that can be used for - programming asynchronously. -

-
- -
- -

Package ID

-
-

- Referred to by Apple as Bundle ID and by Android as Application ID, the{' '} - Package ID is used for identifying apps published to the App Store/Play Store. It is a string - formatted in{' '} - - reverse-DNS notation - - . -

-
- -
- -

Polyfill

-
-

- A{' '} - - polyfill - {' '} - is a bit of code that adds functionality to the browser and normalizes browser differences. This is similar to a{' '} - shim, but where a shim has it's own API, a polyfill let's the expect API of the browser be used. -

-
- -
- -

Protractor

-
-

- - Protractor - {' '} - is a testing framework written for and by the Angular team. Protractor can be used with test runners, like Karma, - for end-to-end testing. Test runners allow you to quickly and programmatically verify code quality. -

-
- -
- -

Sass

-
-

- Sass is a stylesheet language that compiles to CSS and is used by Ionic. Sass is like CSS, but with extra features - such as{' '} - - variables - - , - mixins - , and - loops - . -

-
- -
- -

Scoped Encapsulation

-
-

- A component that uses scoped encapsulation will automatically scope its CSS by appending each of the styles with a - data attribute at run time. Overriding scoped selectors in CSS requires a{' '} - - higher specificity - {' '} - selector. Scoped components can also be styled using{' '} - - CSS Custom Properties - - . -

-
- -
- -

Shadow DOM

-
-

- - Shadow DOM - {' '} - is a native browser solution for DOM and style encapsulation of a component. It shields the component from its - surrounding environment. To externally style internal elements of a Shadow DOM component you must use{' '} - - CSS Custom Properties - {' '} - or{' '} - - CSS Shadow Parts - - . -

-
- -
- -

Shim

-
-

- A shim is a piece of code that normalizes an APIs across browsers. A shim can have it's own API that hides the - browser specific implementation from the end user. -

-
- -
- -

Transpiler

-
-

- Transpilation is the process of converting code from one language to another language prior to execution. Typically, - a transpiler will convert a high-level language to another high-level language. The most common type of{' '} - transpilation in Ionic Framework is converting ES2015/ES6 ( - TypeScript) to ES5 (traditional JavaScript). -

-
- -
- -

TypeScript

-
-

- - TypeScript - {' '} - is a superset of JavaScript, which means it gives you JavaScript, along with a number of extra features such as{' '} - - type declarations - {' '} - and{' '} - - interfaces - - . Although Ionic is built with TypeScript, using it to build an Ionic app is completely optional. -

-
- -
- -

Unit Tests

-
-

- Unit Tests and unit testing are a way to test small pieces of code to see if they behave as expected. Unit testing - frameworks include Jasmine, Mocha, QUnit, and many others. -

-
- -
- -

Webpack

-
-

- - Webpack - {' '} - bundles together JavaScript modules and other assets. It can be used to create single or multiple "chunks" that are - only loaded when needed. Webpack can be used to take many files and dependencies and bundle them into one file, or - other types. -

-
- -
- -

Web Standards

-
-

- The{' '} - - World Wide Web Consortium - {' '} - (W3C) is the standards organization for the Web. Together, industry leaders and the public work together to develop{' '} - - web standards - - , which are a set of protocols, specifications, and technologies that define the Web Platform. -

-
- -
- -

Xcode

-
-

- - Xcode - {' '} - is an Apple IDE (integrated development environment) for software development on Apple operating systems (macOS, - iOS, watchOS and tvOS), with extensions available for other languages and platforms. -

-
+### CommonJS {/* #commonjs */} + +

+ + CommonJS + {' '} + is a group that defines standard formats for JavaScript APIs. They have defined standards for JavaScript modules and + packages. +

+ +### Cordova {/* #cordova */} + +

+ + Apache Cordova + {' '} + is an open source mobile application development framework that transforms standard HTML/CSS/JS into full-fledged + native apps. It provides a JavaScript API for accessing native device functionality, such as the camera or + accelerometer. Cordova contains the necessary build tools for packaging webapps for iOS, Android, and Windows Phone. +

+ +### CORS {/* #cors */} + +

+ + CORS + {' '} + (Cross-Origin Resource Sharing) is a mechanism for servers to control client access to web assets. See the{' '} + CORS FAQs for more information. +

+ +### CSS Variables {/* #css-variables */} + +

+ You may be familiar with variables from Sass.{' '} + + CSS Variables + {' '} + enable the same functionality but are built into the browser. CSS Variables are available in all evergreen browsers. +

+ +### Decorators {/* #decorators */} + +

+ Decorators are expressions that return a function. They allow you to take an existing function, and extend its + behavior. With TypeScript, you can also decorate classes and parameters. When you decorate a{' '} + class, you are wrapping and extending the behavior of its constructor. In other words, the + decorator will add some functionality when the constructor is called, and will then return the original constructor. + When you decorate a parameter, you are wrapping the argument that gets passed in for that + parameter. The decorator will add functionality when an argument is passed to the method, and then return the + original argument. +

+ +### ES5 {/* #es5 */} + +

+ ES5 refers to EcmaScript 5th Edition. A simple way to put it is that ES5 is the version of JavaScript which + developers are most familiar with today. +

+ +### ES2015/ES6 {/* #es2015-es6 */} + +

+ A wide range of new features were introduced in this version of JavaScript, including classes, modules, iterators, + and promises. Evergreen browsers (Chrome, Safari, Firefox and Edge) have full support for ES6, but to use ES6 + features in older browsers, tools such as Babel and TypeScript have + to transpile ES6 code down to ES5. +

+ +### ES2016/ES7 {/* #es2016-es7 */} + +

+ This version of JavaScript added a number of new features to the language, including Array.includes and + the exponentiation operator. This version of JavaScript is fully supported by all evergreen browsers (Chrome, + Safari, Firefox and Edge) +

+ +### ES2017/ES8 {/* #es2017-es8 */} + +

+ This version of JavaScript is the latest standard. It is currently in the final stage before becoming the new + official standard. This spec includes Async/Await (already in all evergreen browsers) and shared memory/atomics. +

+ +### Genymotion {/* #genymotion */} + +

+ Genymotion is a third-party Android emulator. It is extremely fast, and is useful for quickly testing your app on + Android. Check out our resource section on Genymotion for + more info. +

+ +### Git {/* #git */} + +

+ + Git + {' '} + is a distributed version control system for managing code. It allows development teams to contribute code to the + same project without causing code conflicts. +

+ +### Gulp {/* #gulp */} + +

+ + Gulp + {' '} + is a tool for running tasks which can be used to build your app. Common build tasks include transpiling{' '} + ES6 to ES5, turning Sass into CSS, minifying code, + and concatenating files. +

+ +### ES Modules {/* #es-modules */} + +

+ + ES Modules + {' '} + brings the concept of modules natively to JavaScript. With modules, classes and variables are no longer in the + global scope and have to be explicitly imported into your project to be used. This makes it much easier to + understand where your code is coming from and increases modularity and compartmentalization of functionality. +

+ +### Ionicons {/* #ionicons */} + +

+ + Ionicons + {' '} + is an open-source icon set used and created by Ionic. It includes 1:1 iOS and Material Design icons, as well as + commonly used social/application icons. Ionicons is included by default in Ionic distributions, but they can also be + used in any project. +

+ +### Karma {/* #karma */} + +

+ + Karma + {' '} + is a test runner that will run an app's test inside a real browser. It executes test cases, written in any testing + framework, in a real browser. Karma was originally written for use with Angular 1. +

+ +### Module {/* #module */} + +

+ Modules in JavaScript are small, independent, and reusable pieces or code that are isolated from one another and the + Global scope. +

+ +### Monorepo {/* #monorepo */} + +

+ A monorepo is a single git repository with multiple projects. Advantages include simpler + organization, shared tooling and dependencies, and better collaboration with teammates. +

+ +### Live Reload {/* #livereload */} + +

+ Live Reload (or live-reload) is a tool that automatically reloads the browser or{' '} + Web View when it detects changes in your app. In some cases, it can replace + parts of your app without having to reload the entire window. See the{' '} + Live Reload docs for more information. +

+ +### Node {/* #node */} + +

+ + Node + {' '} + is a runtime environment that allows JavaScript to be written on the server-side. In addition to being used for web + services, node is often used to build developer tools, such as the Ionic CLI. +

+ +### npm {/* #npm */} + +

+ + npm + {' '} + is the package manager for node. It allows developers to install, share, and package node + modules. Ionic can be installed with npm, along with a number of its dependencies. +

+ +### Observable {/* #observable */} + +

+ An observable is an object that emits events (or notifications). An observer is an object that listens for these + events, and does something when an event is received. Together, they create a pattern that can be used for + programming asynchronously. +

+ +### Package ID {/* #package-id */} + +

+ Referred to by Apple as Bundle ID and by Android as Application ID, the{' '} + Package ID is used for identifying apps published to the App Store/Play Store. It is a string + formatted in{' '} + + reverse-DNS notation + + . +

+ +### Polyfill {/* #polyfill */} + +

+ A{' '} + + polyfill + {' '} + is a bit of code that adds functionality to the browser and normalizes browser differences. This is similar to a{' '} + shim, but where a shim has it's own API, a polyfill let's the expect API of the browser be used. +

+ +### Protractor {/* #protractor */} + +

+ + Protractor + {' '} + is a testing framework written for and by the Angular team. Protractor can be used with test runners, like Karma, + for end-to-end testing. Test runners allow you to quickly and programmatically verify code quality. +

+ +### Sass {/* #sass */} + +

+ Sass is a stylesheet language that compiles to CSS and is used by Ionic. Sass is like CSS, but with extra features + such as{' '} + + variables + + , + mixins + , and + loops + . +

+ +### Scoped Encapsulation {/* #scoped */} + +

+ A component that uses scoped encapsulation will automatically scope its CSS by appending each of the styles with a + data attribute at run time. Overriding scoped selectors in CSS requires a{' '} + + higher specificity + {' '} + selector. Scoped components can also be styled using{' '} + + CSS Custom Properties + + . +

+ +### Shadow DOM {/* #shadow */} + +

+ + Shadow DOM + {' '} + is a native browser solution for DOM and style encapsulation of a component. It shields the component from its + surrounding environment. To externally style internal elements of a Shadow DOM component you must use{' '} + + CSS Custom Properties + {' '} + or{' '} + + CSS Shadow Parts + + . +

+ +### Shim {/* #shim */} + +

+ A shim is a piece of code that normalizes an APIs across browsers. A shim can have it's own API that hides the + browser specific implementation from the end user. +

+ +### Transpiler {/* #transpiler */} + +

+ Transpilation is the process of converting code from one language to another language prior to execution. Typically, + a transpiler will convert a high-level language to another high-level language. The most common type of{' '} + transpilation in Ionic Framework is converting ES2015/ES6 ( + TypeScript) to ES5 (traditional JavaScript). +

+ +### TypeScript {/* #typescript */} + +

+ + TypeScript + {' '} + is a superset of JavaScript, which means it gives you JavaScript, along with a number of extra features such as{' '} + + type declarations + {' '} + and{' '} + + interfaces + + . Although Ionic is built with TypeScript, using it to build an Ionic app is completely optional. +

+ +### Unit Tests {/* #unit-tests */} + +

+ Unit Tests and unit testing are a way to test small pieces of code to see if they behave as expected. Unit testing + frameworks include Jasmine, Mocha, QUnit, and many others. +

+ +### Webpack {/* #webpack */} + +

+ + Webpack + {' '} + bundles together JavaScript modules and other assets. It can be used to create single or multiple "chunks" that are + only loaded when needed. Webpack can be used to take many files and dependencies and bundle them into one file, or + other types. +

+ +### Web Standards {/* #web-standards */} + +

+ The{' '} + + World Wide Web Consortium + {' '} + (W3C) is the standards organization for the Web. Together, industry leaders and the public work together to develop{' '} + + web standards + + , which are a set of protocols, specifications, and technologies that define the Web Platform. +

+ +### Xcode {/* #xcode */} + +

+ + Xcode + {' '} + is an Apple IDE (integrated development environment) for software development on Apple operating systems (macOS, + iOS, watchOS and tvOS), with extensions available for other languages and platforms. +

diff --git a/versioned_docs/version-v6/troubleshooting/cors.mdx b/versioned_docs/version-v6/troubleshooting/cors.mdx index 22d0717e3d9..744ff88342c 100644 --- a/versioned_docs/version-v6/troubleshooting/cors.mdx +++ b/versioned_docs/version-v6/troubleshooting/cors.mdx @@ -238,7 +238,7 @@ If you are trying to connect to a 3rd-party API, first check in its documentatio #### 1. Native-only apps (iOS/Android) -Use the [HTTP plugin from Ionic Native](https://ionic-docs-5utg8ms4c-ionic1.vercel.app/docs/v5/native/http) to make the requests natively from outside the webview. Please note that this plugin doesn't work in the browser, so the development and testing of the app must always be done in a device or simulator going forward. +Use the [HTTP plugin from Ionic Native](https://ionic-docs-v5.vercel.app/docs/v5/native/http) to make the requests natively from outside the webview. Please note that this plugin doesn't work in the browser, so the development and testing of the app must always be done in a device or simulator going forward. ##### Usage in Ionic Angular 4 diff --git a/versioned_docs/version-v7/developing/android.mdx b/versioned_docs/version-v7/developing/android.mdx index f613b2bbc2d..c3058eff64d 100644 --- a/versioned_docs/version-v7/developing/android.mdx +++ b/versioned_docs/version-v7/developing/android.mdx @@ -16,7 +16,7 @@ import DocsCards from '@components/global/DocsCards'; :::info[Looking for the legacy Android guide?] -The Developing for Android guide has officially migrated to the [Capacitor documentation for Android](https://capacitorjs.com/docs/android). If you need to access the legacy documentation, you can find it under the [legacy developing for Android guide](https://ionic-docs-fo03f34h5-ionic1.vercel.app/docs/v6/developing/android). +The Developing for Android guide has officially migrated to the [Capacitor documentation for Android](https://capacitorjs.com/docs/android). If you need to access the legacy documentation, you can find it under the [legacy developing for Android guide](https://ionic-docs-v6.vercel.app/docs/v6/developing/android). ::: @@ -30,7 +30,7 @@ The Developing for Android guide has officially migrated to the [Capacitor docum

Learn the fundamentals you need to know to start building Android apps with Ionic Framework and Cordova.

diff --git a/versioned_docs/version-v7/developing/ios.mdx b/versioned_docs/version-v7/developing/ios.mdx index ad637ce4b1e..58230b2e089 100644 --- a/versioned_docs/version-v7/developing/ios.mdx +++ b/versioned_docs/version-v7/developing/ios.mdx @@ -17,7 +17,7 @@ import DocsCards from '@components/global/DocsCards'; :::info[Looking for the legacy iOS guide?] -The Developing for iOS guide has officially migrated to the [Capacitor documentation for iOS](https://capacitorjs.com/docs/ios). If you need to access the legacy documentation, you can find it under the [legacy developing for iOS guide](https://ionic-docs-fo03f34h5-ionic1.vercel.app/docs/v6/developing/ios). +The Developing for iOS guide has officially migrated to the [Capacitor documentation for iOS](https://capacitorjs.com/docs/ios). If you need to access the legacy documentation, you can find it under the [legacy developing for iOS guide](https://ionic-docs-v6.vercel.app/docs/v6/developing/ios). ::: @@ -31,7 +31,7 @@ The Developing for iOS guide has officially migrated to the [Capacitor documenta

Learn the fundamentals you need to know to start building iOS apps with Ionic Framework and Cordova.

diff --git a/versioned_docs/version-v8/api/input.mdx b/versioned_docs/version-v8/api/input.mdx index fcd99ff8b83..fd8e64dc378 100644 --- a/versioned_docs/version-v8/api/input.mdx +++ b/versioned_docs/version-v8/api/input.mdx @@ -106,7 +106,7 @@ import HelperError from '@site/static/usage/v8/input/helper-error/index.mdx'; The input counter is text that displays under an input to notify the user of how many characters have been entered out of the total that the input will accept. When adding counter, the default behavior is to format the value that gets displayed as `inputLength` / `maxLength`. This behavior can be customized by passing in a formatter function to the `counterFormatter` property. -The `counter` and `counterFormatter` properties on `ion-item` were [deprecated in Ionic 7](https://ionic-docs-mt82qcyb0-ionic1.vercel.app/docs/v7/api/input#using-the-modern-syntax) and should be used directly on `ion-input` instead. +The `counter` and `counterFormatter` properties on `ion-item` were [deprecated in Ionic 7](https://ionic-docs-v7.vercel.app/docs/v7/api/input#using-the-modern-syntax) and should be used directly on `ion-input` instead. import Counter from '@site/static/usage/v8/input/counter/index.mdx'; diff --git a/versioned_docs/version-v8/developing/android.mdx b/versioned_docs/version-v8/developing/android.mdx index 2cda305d070..295b956a649 100644 --- a/versioned_docs/version-v8/developing/android.mdx +++ b/versioned_docs/version-v8/developing/android.mdx @@ -13,7 +13,7 @@ import DocsCards from '@components/global/DocsCards'; :::info[Looking for the legacy Android guide?] -The Developing for Android guide has officially migrated to the [Capacitor documentation for Android](https://capacitorjs.com/docs/android). If you need to access the legacy documentation, you can find it under the [legacy developing for Android guide](https://ionic-docs-fo03f34h5-ionic1.vercel.app/docs/v6/developing/android). +The Developing for Android guide has officially migrated to the [Capacitor documentation for Android](https://capacitorjs.com/docs/android). If you need to access the legacy documentation, you can find it under the [legacy developing for Android guide](https://ionic-docs-v6.vercel.app/docs/v6/developing/android). ::: @@ -27,7 +27,7 @@ The Developing for Android guide has officially migrated to the [Capacitor docum

Learn the fundamentals you need to know to start building Android apps with Ionic Framework and Cordova.

diff --git a/versioned_docs/version-v8/developing/ios.mdx b/versioned_docs/version-v8/developing/ios.mdx index 37421a3e3af..34976e27e09 100644 --- a/versioned_docs/version-v8/developing/ios.mdx +++ b/versioned_docs/version-v8/developing/ios.mdx @@ -14,7 +14,7 @@ import DocsCards from '@components/global/DocsCards'; :::info[Looking for the legacy iOS guide?] -The Developing for iOS guide has officially migrated to the [Capacitor documentation for iOS](https://capacitorjs.com/docs/ios). If you need to access the legacy documentation, you can find it under the [legacy developing for iOS guide](https://ionic-docs-fo03f34h5-ionic1.vercel.app/docs/v6/developing/ios). +The Developing for iOS guide has officially migrated to the [Capacitor documentation for iOS](https://capacitorjs.com/docs/ios). If you need to access the legacy documentation, you can find it under the [legacy developing for iOS guide](https://ionic-docs-v6.vercel.app/docs/v6/developing/ios). ::: @@ -28,7 +28,7 @@ The Developing for iOS guide has officially migrated to the [Capacitor documenta

Learn the fundamentals you need to know to start building iOS apps with Ionic Framework and Cordova.

diff --git a/versioned_docs/version-v8/updating/8-0.mdx b/versioned_docs/version-v8/updating/8-0.mdx index 06c980aa6c5..70f7f0f8499 100644 --- a/versioned_docs/version-v8/updating/8-0.mdx +++ b/versioned_docs/version-v8/updating/8-0.mdx @@ -220,13 +220,13 @@ iOS >=15 ### Checkbox {/* #checkbox */} -1. Migrate any remaining instances of Checkbox to use the [modern form control syntax](https://ionic-docs-mt82qcyb0-ionic1.vercel.app/docs/v7/api/checkbox#migrating-from-legacy-checkbox-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. +1. Migrate any remaining instances of Checkbox to use the [modern form control syntax](https://ionic-docs-v7.vercel.app/docs/v7/api/checkbox#migrating-from-legacy-checkbox-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. ### Input {/* #input */} 1. Remove any usages of the `size` property. CSS should be used to specify the visible width of the input instead. 2. Remove any usages of the `accept` property. -3. Migrate any remaining instances of Input to use the [modern form control syntax](https://ionic-docs-mt82qcyb0-ionic1.vercel.app/docs/v7/api/input#migrating-from-legacy-input-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. +3. Migrate any remaining instances of Input to use the [modern form control syntax](https://ionic-docs-v7.vercel.app/docs/v7/api/input#migrating-from-legacy-input-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. ### Item {/* #item */} @@ -248,19 +248,19 @@ iOS >=15 ### Radio {/* #radio */} -1. Migrate any remaining instances of Radio to use the [modern form control syntax](https://ionic-docs-mt82qcyb0-ionic1.vercel.app/docs/v7/api/radio#migrating-from-legacy-radio-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. +1. Migrate any remaining instances of Radio to use the [modern form control syntax](https://ionic-docs-v7.vercel.app/docs/v7/api/radio#migrating-from-legacy-radio-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. ### Select {/* #select */} -1. Migrate any remaining instances of Select to use the [modern form control syntax](https://ionic-docs-mt82qcyb0-ionic1.vercel.app/docs/v7/api/select#migrating-from-legacy-select-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. +1. Migrate any remaining instances of Select to use the [modern form control syntax](https://ionic-docs-v7.vercel.app/docs/v7/api/select#migrating-from-legacy-select-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. ### Textarea {/* #textarea */} -1. Migrate any remaining instances of Textarea to use the [modern form control syntax](https://ionic-docs-mt82qcyb0-ionic1.vercel.app/docs/v7/api/textarea#migrating-from-legacy-textarea-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. +1. Migrate any remaining instances of Textarea to use the [modern form control syntax](https://ionic-docs-v7.vercel.app/docs/v7/api/textarea#migrating-from-legacy-textarea-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. ### Toggle {/* #toggle */} -1. Migrate any remaining instances of Toggle to use the [modern form control syntax](https://ionic-docs-mt82qcyb0-ionic1.vercel.app/docs/v7/api/toggle#migrating-from-legacy-toggle-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. +1. Migrate any remaining instances of Toggle to use the [modern form control syntax](https://ionic-docs-v7.vercel.app/docs/v7/api/toggle#migrating-from-legacy-toggle-syntax). Additionally, remove any usages of the `legacy` property as the legacy form control syntax has been removed. ## Need Help Upgrading? {/* #need-help-upgrading */} diff --git a/versionsArchived.json b/versionsArchived.json index 69efb338852..f749d5c3fdd 100644 --- a/versionsArchived.json +++ b/versionsArchived.json @@ -1,5 +1,5 @@ { - "v7": "https://ionic-docs-mt82qcyb0-ionic1.vercel.app/docs/v7", - "v6": "https://ionic-docs-lq0if04rc-ionic1.vercel.app/docs/v6", - "v5": "https://ionic-docs-5utg8ms4c-ionic1.vercel.app/docs/v5" + "v7": "https://ionic-docs-v7.vercel.app/docs/v7", + "v6": "https://ionic-docs-v6.vercel.app/docs/v6", + "v5": "https://ionic-docs-v5.vercel.app/docs/v5" }