mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
form/input updates
This commit is contained in:
@ -11,7 +11,11 @@ import {Platform} from '../../platform/platform';
|
||||
|
||||
|
||||
@IonicDirective({
|
||||
selector: 'ion-input'
|
||||
selector: 'ion-input',
|
||||
classId: 'item-input',
|
||||
host: {
|
||||
'class': 'item'
|
||||
}
|
||||
})
|
||||
export class Input extends IonInputItem {
|
||||
|
||||
@ -38,7 +42,8 @@ export class Input extends IonInputItem {
|
||||
'(touchend)': 'pointerEnd($event)',
|
||||
'(mousedown)': 'pointerStart($event)',
|
||||
'(mouseup)': 'pointerEnd($event)',
|
||||
'[attr.id]': 'id'
|
||||
'[attr.id]': 'id',
|
||||
'class': 'text-input input'
|
||||
}
|
||||
})
|
||||
export class TextInput extends IonInput {
|
||||
|
Reference in New Issue
Block a user