mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
Merge branch '2.0' of https://github.com/kkarich/ionic into feature-clear-input
This commit is contained in:
@ -84,7 +84,7 @@ export class Img {
|
||||
}
|
||||
|
||||
private _loaded(isLoaded: boolean) {
|
||||
this._elementRef.nativeElement.classList[isLoaded ? 'add': 'remove']('img-loaded');
|
||||
this._elementRef.nativeElement.classList[isLoaded ? 'add' : 'remove']('img-loaded');
|
||||
}
|
||||
|
||||
enable(shouldEnable: boolean) {
|
||||
|
@ -55,8 +55,8 @@ import {Platform} from '../../platform/platform';
|
||||
* <ion-input type="tel"></ion-input>
|
||||
* </ion-item>
|
||||
*
|
||||
* <ion-item clearInput>
|
||||
* <ion-input placeholder="Username"></ion-input>
|
||||
* <ion-item>
|
||||
* <ion-input placeholder="Username" clearInput></ion-input>
|
||||
* </ion-item>
|
||||
* ```
|
||||
*
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
<ion-item>
|
||||
<ion-label>Text 1:</ion-label>
|
||||
<ion-input class="e2eClearInput" [(ngModel)]="myParam" clearInput></ion-input>
|
||||
<ion-input class="e2eClearInput" [(ngModel)]="myValue" clearInput></ion-input>
|
||||
</ion-item>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user