From 2b442d1569190b8a210233fe72f7f67ed9d8e3b8 Mon Sep 17 00:00:00 2001
From: ShaneK
- Autoprefixer is a tool that adds
- vendor-specific-prefixes to hand-written Sass/CSS code. This ensures that standardized CSS rules
+
+ 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
- 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.
+
+ 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.
- When focus is on the last accordion header, moves focus to the first accordion header. |
-| Up Arrow | - When focus is on an accordion header, moves focus to the previous accordion header.
- When focus is on the first accordion header, moves focus to the last accordion header. |
-| Home | When focus is on an accordion header, moves focus to the first accordion header. |
-| End | When focus is on an accordion header, moves focus to the last accordion header. |
+| Key | Description |
+| ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| Space or Enter | When focus is on the accordion header, the accordion will collapse or expand depending on the state of the component. |
+| Tab | Moves focus to the next focusable element. |
+| Shift + Tab | Moves focus to the previous focusable element. |
+| Down Arrow | - When focus is on an accordion header, moves focus to the next accordion header.
- When focus is on the last accordion header, moves focus to the first accordion header. |
+| Up Arrow | - When focus is on an accordion header, moves focus to the previous accordion header.
- When focus is on the first accordion header, moves focus to the last accordion header. |
+| Home | When focus is on an accordion header, moves focus to the first accordion header. |
+| End | When focus is on an accordion header, moves focus to the last accordion header. |
## Performance
@@ -190,7 +193,7 @@ When used inside an `ion-accordion-group`, `ion-accordion` has full keyboard sup
The accordion animation works by knowing the height of the `content` slot when the animation starts. The accordion expects that this height will remain consistent throughout the animation. As a result, developers should avoid performing any operation that may change the height of the content during the animation.
-For example, using [ion-img](./img) may cause layout shifts as it lazily loads images. This means that as the animation plays, `ion-img` will load the image data, and the dimensions of `ion-img` will change to account for the loaded image data. This can result in the height of the `content` slot changing. Developers have a few options for avoiding this:
+For example, using [ion-img](./img) may cause layout shifts as it lazily loads images. This means that as the animation plays, `ion-img` will load the image data, and the dimensions of `ion-img` will change to account for the loaded image data. This can result in the height of the `content` slot changing. Developers have a few options for avoiding this:
1. Use an `img` element without any lazy loading. `ion-img` always uses lazy loading, but `img` does not use lazy loading by default. This is the simplest option and works well if you have small images that do not significantly benefit from lazy loading.
@@ -199,19 +202,25 @@ For example, using [ion-img](./img) may cause layout shifts as it lazily loads i
3. If neither of these options are applicable, developers may want to consider disabling animations altogether by using the `animated` property on [ion-accordion-group](./accordion-group).
## Properties
+
-
## Theming
### Colors
@@ -67,21 +65,26 @@ import CSSProps from '@site/static/usage/v8/card/theming/css-properties/index.md
aria-hidden="true". This will not visually hide the icon, but it will hide the element from assistive technology.
@@ -29,7 +28,6 @@ Icons that are purely decorative content should have aria-hidden="true"
```
-
If the icon is interactive, it should have alternate text defined by adding an aria-label.
```html
diff --git a/versioned_docs/version-v8/api/img.md b/versioned_docs/version-v8/api/img.md
index bc812a8ca0b..bf6a23948cb 100644
--- a/versioned_docs/version-v8/api/img.md
+++ b/versioned_docs/version-v8/api/img.md
@@ -1,5 +1,5 @@
---
-title: "ion-img"
+title: 'ion-img'
---
import Props from '@ionic-internal/component-api/v8/img/props.md';
@@ -11,14 +11,16 @@ import Slots from '@ionic-internal/component-api/v8/img/slots.md';
In a box with a value: clears that value.
With values in boxes to the right: shifts them all one position to the left. In RTL mode, with values in boxes to the left: shifts them all one position to the right. |
+| Key | Description |
+| ------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Tab | When first tabbing into the component, focus moves to the first empty box. If all boxes are filled, focus moves to the last box. Once inside the component, tabbing moves to the next focusable element on the page. |
+| Shift + Tab | When tabbing backwards into the component, focus moves to the first empty box. If all boxes are filled, focus moves to the last box. Once inside the component, shift tabbing focus moves to the previous focusable element on the page. |
+| ArrowRight | Moves focus to the next input box, stopping at the first empty box. In RTL mode, moves focus back to any previous box that contains a value. |
+| ArrowLeft | Moves focus back to any previous box that contains a value. In RTL mode, moves focus to the next input box, stopping at the first empty box. |
+| Any character matching the `pattern` property | Fills the current box and automatically moves focus to the next empty box. If all boxes are filled, focus remains on the last box. If the current box has a value, override the value with the entered character. In RTL mode, input fills boxes from right to left. |
+| Backspace | In an empty box: moves focus back one box and clears its value.
In a box with a value: clears that value.
With values in boxes to the right: shifts them all one position to the left. In RTL mode, with values in boxes to the left: shifts them all one position to the right. |
| Ctrl + V
Cmd + V | Pastes content starting from the first box, regardless of which box is currently focused. All existing values are cleared before pasting. For example, if you have "1234" in all boxes and paste "56", the result will be "56" in the first two boxes with the remaining boxes empty. If the pasted content is longer than the available boxes, the extra characters are ignored. |
## Properties
+
}
- doNotImage={
}
+ doImage={
+
+ }
+ doNotImage={
+
+ }
/>
In the example below, we are creating two lists with supporting visuals. The first list uses icons, and the second list uses avatars. The visuals are decorative, so they all have `aria-hidden="true"`. Additionally, they are presented consistently in the `start` slot.
@@ -61,11 +73,27 @@ import SupportingVisuals from '@site/static/usage/v8/item/content-types/supporti
The text content type includes form control labels or other visible text. This text serves to indicate the intent of the item. Try to keep the text short and to the point.
}
- doNotImage={
}
+ doImage={
+
+ }
+ doNotImage={
+
+ }
/>
In the example below, we are creating a list with different types of text. The "First Name" and "Last Name" labels serve to indicate what to type into the text inputs.
@@ -86,16 +114,36 @@ Metadata provides additional context for an item such as status text or counts.
text="Limit the amount of metadata you include to only the most relevant information."
doText="Add only the most important metadata"
doNotText="Don't add too much metadata as it can overwhelm or confuse the user."
- doImage={
}
- doNotImage={
}
+ doImage={
+
+ }
+ doNotImage={
+
+ }
/>
}
+ doImage={
+
+ }
+ cautionImage={
+
+ }
/>
In the example below, we are creating two lists with different kinds of metadata. The first list uses [Note](./note) to show how many tasks are in each to-do list.
@@ -113,11 +161,32 @@ Actions are interactive elements that do something when you activate them. An it
Developers should avoid creating nested interactives which can break the user experience with screen readers. For example, developers should avoid adding a button inside the main content of the Item if the `button` property is set to `true`.
}
- doNotImage={
}
+ doImage={
+
+ }
+ doNotImage={
+
+ }
/>
In the example below, we are creating a list of contacts. Each item is a stubbed button intended to bring you to the full contact page for that item. There are additional actions associated with each item that users can reveal by swiping on the item.
@@ -131,27 +200,74 @@ import Actions from '@site/static/usage/v8/item/content-types/actions/index.md';
Controls are form components such as checkboxes, inputs, radios, and more. Each item in a list should have at most two controls due to screen space constraints.
}
- doNotImage={
}
+ doImage={
+
+ }
+ doNotImage={
+
+ }
/>
}
- doNotImage={
}
+ doImage={
+
+ }
+ doNotImage={
+
+ }
/>
}
- doNotImage={
}
+ doImage={
+
+ }
+ doNotImage={
+
+ }
/>
In the example below, we are creating a list of to-do tasks. Each item has a checkbox and an input. The checkbox lets the user mark a task as complete, and the input lets the user change the name of the task.
@@ -160,7 +276,6 @@ import Controls from '@site/static/usage/v8/item/content-types/controls/index.md
display: flex; and it'll
automatically plug in the correct CSS.
@@ -68,10 +82,13 @@ title: Glossary
Capacitor
- CommonJS is a group that defines - standard formats for JavaScript APIs. They have defined standards for JavaScript modules and packages. + + CommonJS + {' '} + is a group that defines standard formats for JavaScript APIs. They have defined standards for JavaScript modules and + packages.
@@ -108,10 +131,12 @@ title: Glossary- 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. + + 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.
@@ -120,7 +145,9 @@ title: Glossary- 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.
@@ -132,7 +159,9 @@ title: GlossaryYou may be familiar with variables from Sass. - CSS Variables + + CSS Variables + enable the same functionality but are built into the browser. CSS Variables are available in all evergreen browsers.
@@ -211,8 +240,11 @@ title: Glossary- 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. + + 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.
@@ -221,8 +253,11 @@ title: Glossary- Gulp is a tool for running tasks which can be used to build your app. - Common build tasks include transpiling ES6 to ES5, turning + + 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.
@@ -232,10 +267,12 @@ title: Glossary- 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. + + 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.
@@ -244,9 +281,12 @@ title: Glossary- 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. + + 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.
@@ -255,9 +295,11 @@ title: Glossary- 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. + + 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.
@@ -287,8 +329,8 @@ title: GlossaryLive 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 + 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.
@@ -298,9 +340,11 @@ title: Glossary- 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. + + 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.
@@ -309,9 +353,11 @@ title: Glossary- 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. + + 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.
@@ -332,8 +378,10 @@ title: GlossaryReferred 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. + Package ID is used for identifying apps published to the App Store/Play Store. It is a string formatted + in + reverse-DNS notation + .
@@ -342,9 +390,12 @@ title: Glossary- 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. + 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.
@@ -353,9 +404,11 @@ title: Glossary- 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. + + 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.
@@ -365,9 +418,17 @@ title: GlossarySass 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. + such as{' '} + + variables + + , + mixins + , and + + loops + + .
@@ -378,9 +439,14 @@ title: GlossaryA 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 + + higher specificity + selector. Scoped components can also be styled using - CSS Custom Properties. + + CSS Custom Properties + + .
@@ -389,11 +455,17 @@ title: Glossary- 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. + + 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 + .
@@ -414,8 +486,9 @@ title: GlossaryTranspilation 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). + transpilation in Ionic Framework is converting ES2015/ES6( + TypeScript + ) to ES5 (traditional JavaScript).
@@ -424,11 +497,18 @@ title: Glossary- 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. + + 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.
@@ -447,9 +527,12 @@ title: Glossary- 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. + + 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.
@@ -458,10 +541,14 @@ title: Glossary- 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. + 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.
@@ -470,9 +557,11 @@ title: Glossary- 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. + + 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.
From 12981ad7f28551f5f9407e20f03d7572c872ca17 Mon Sep 17 00:00:00 2001 From: ShaneK- - Accessibility - {' '} - (a11y) is the practice of enabling as many people as possible to use the content, even if people have limited - abilities. This include people with disabilities, those using mobile devices, and those with slow network - connections. Content should be developed to be as accessible as technology allows. + Accessibility (a11y) is the practice of enabling as many people as possible to use the content, even if people have limited abilities. This include people with disabilities, those using mobile devices, and those with slow network connections. Content should be developed to be as accessible as technology allows.
@@ -31,12 +26,7 @@ title: Glossary- 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. + 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.
@@ -45,10 +35,8 @@ title: Glossary- - Android Studio - {' '} - is the official Integrated Development Environment (IDE) for Native Android app development. + Android Studio is the official + Integrated Development Environment (IDE) for Native Android app development.
@@ -57,10 +45,8 @@ title: Glossary
-
- Autoprefixer
- {' '}
- is a tool that adds vendor-specific-prefixes to hand-written Sass/CSS code. This ensures that standardized CSS rules
+ 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.
@@ -82,13 +68,10 @@ title: Glossary
- - 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. + 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.
@@ -102,12 +85,9 @@ 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 commercial services - - . + 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. @@ -118,11 +98,8 @@ title: Glossary- - CommonJS - {' '} - is a group that defines standard formats for JavaScript APIs. They have defined standards for JavaScript modules and - packages. + CommonJS is a group that defines + standard formats for JavaScript APIs. They have defined standards for JavaScript modules and packages.
@@ -131,12 +108,10 @@ title: Glossary- - 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. + 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.
@@ -145,9 +120,7 @@ title: Glossary- - 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.
@@ -159,9 +132,7 @@ title: GlossaryYou may be familiar with variables from Sass. - - CSS Variables - + CSS Variables enable the same functionality but are built into the browser. CSS Variables are available in all evergreen browsers.
@@ -240,11 +211,8 @@ title: Glossary- - 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. + 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.
@@ -253,11 +221,8 @@ title: Glossary- - Gulp - {' '} - is a tool for running tasks which can be used to build your app. Common build tasks include transpiling{' '} - ES6 to ES5, turning + 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.
@@ -267,12 +232,10 @@ title: Glossary- - 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. + 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.
@@ -281,12 +244,9 @@ title: Glossary- - 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. + 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.
@@ -295,11 +255,9 @@ title: Glossary- - 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. + 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.
@@ -329,8 +287,8 @@ title: GlossaryLive 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 + 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.
@@ -340,11 +298,9 @@ title: Glossary- - 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. + 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.
@@ -353,11 +309,9 @@ title: Glossary- - 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. + 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.
@@ -378,10 +332,8 @@ title: GlossaryReferred 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 - . + Package ID is used for identifying apps published to the App Store/Play Store. It is a string + formatted in reverse-DNS notation.
@@ -390,12 +342,9 @@ title: Glossary- 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. + 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.
@@ -404,11 +353,9 @@ title: Glossary- - 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. + 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.
@@ -418,17 +365,9 @@ title: GlossarySass 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 - - . + such as variables, + mixins, and + loops.
@@ -439,14 +378,9 @@ title: GlossaryA 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 - + higher specificity selector. Scoped components can also be styled using - - CSS Custom Properties - - . + CSS Custom Properties.
@@ -455,17 +389,11 @@ title: Glossary- - 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 - . + 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.
@@ -486,9 +414,8 @@ title: GlossaryTranspilation 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). + transpilation in Ionic Framework is converting ES2015/ES6 + (TypeScript) to ES5 (traditional JavaScript).
@@ -497,18 +424,11 @@ title: Glossary- - 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. + 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.
@@ -527,12 +447,9 @@ title: Glossary- - 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. + 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.
@@ -541,14 +458,10 @@ title: Glossary- 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. + 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.
@@ -557,11 +470,9 @@ title: Glossary- - 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. + 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.