mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +08:00
@ -129,14 +129,14 @@ export class TextInput extends InputBase {
|
|||||||
* </ion-item>
|
* </ion-item>
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* @demo /docs/v2/demos/textarea/
|
* @demo /docs/v2/demos/textarea/
|
||||||
*/
|
*/
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ion-textarea',
|
selector: 'ion-textarea',
|
||||||
template:
|
template:
|
||||||
'<textarea [(ngModel)]="_value" [placeholder]="placeholder" class="text-input"></textarea>' +
|
'<textarea [(ngModel)]="_value" [placeholder]="placeholder" class="text-input"></textarea>' +
|
||||||
'<input type="text" aria-hidden="true" next-input *ngIf="_useAssist">' +
|
'<input type="text" aria-hidden="true" next-input *ngIf="_useAssist">' +
|
||||||
'<div (touchstart)="pointerStart($event)" (touchend)="pointerEnd($event)" (mousedown)="pointerStart($event)" (mouseup)="pointerEnd($event)" class="input-cover" *ngIf="_useAssist"></div>',
|
'<div (touchstart)="pointerStart($event)" (touchend)="pointerEnd($event)" (mousedown)="pointerStart($event)" (mouseup)="pointerEnd($event)" class="input-cover" tappable *ngIf="_useAssist"></div>',
|
||||||
directives: [
|
directives: [
|
||||||
NgIf,
|
NgIf,
|
||||||
NextInput,
|
NextInput,
|
||||||
|
Reference in New Issue
Block a user