mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
docs(): fix spelling
This commit is contained in:
@ -47,8 +47,8 @@ import {Option} from '../option/option';
|
|||||||
* selected option values.
|
* selected option values.
|
||||||
*
|
*
|
||||||
* ```html
|
* ```html
|
||||||
* <ion-select [(ngModel)]="topings" multiple="true">
|
* <ion-select [(ngModel)]="toppings" multiple="true">
|
||||||
* <ion-label>Topings</ion-label>
|
* <ion-label>Toppings</ion-label>
|
||||||
* <ion-option value="bacon">Bacon</ion-option>
|
* <ion-option value="bacon">Bacon</ion-option>
|
||||||
* <ion-option value="olives">Black Olives</ion-option>
|
* <ion-option value="olives">Black Olives</ion-option>
|
||||||
* <ion-option value="xcheese">Extra Cheese</ion-option>
|
* <ion-option value="xcheese">Extra Cheese</ion-option>
|
||||||
@ -83,8 +83,8 @@ import {Option} from '../option/option';
|
|||||||
*
|
*
|
||||||
* ```ts
|
* ```ts
|
||||||
* this.alertOptions = {
|
* this.alertOptions = {
|
||||||
* title: 'Pizza Topings',
|
* title: 'Pizza Toppings',
|
||||||
* subTitle: 'Select your topings'
|
* subTitle: 'Select your toppings'
|
||||||
* };
|
* };
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
<ion-content class="outer-content">
|
<ion-content class="outer-content">
|
||||||
|
|
||||||
<ion-select [(ngModel)]="topings" multiple="true" cancelText="Nah" okText="Okay!">
|
<ion-select [(ngModel)]="toppings" multiple="true" cancelText="Nah" okText="Okay!">
|
||||||
<ion-label>Topings</ion-label>
|
<ion-label>Toppings</ion-label>
|
||||||
<ion-option value="bacon">Bacon</ion-option>
|
<ion-option value="bacon">Bacon</ion-option>
|
||||||
<ion-option value="olives">Black Olives</ion-option>
|
<ion-option value="olives">Black Olives</ion-option>
|
||||||
<ion-option value="xcheese">Extra Cheese</ion-option>
|
<ion-option value="xcheese">Extra Cheese</ion-option>
|
||||||
@ -27,7 +27,7 @@
|
|||||||
</ion-select>
|
</ion-select>
|
||||||
|
|
||||||
<p aria-hidden="true" padding>
|
<p aria-hidden="true" padding>
|
||||||
<code>topings: {{topings}}</code><br>
|
<code>toppings: {{toppings}}</code><br>
|
||||||
<code>carOptions: {{carOptions}}</code><br>
|
<code>carOptions: {{carOptions}}</code><br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user