text input focus and keyboard

This commit is contained in:
Adam Bradley
2015-08-10 15:59:48 -05:00
parent a522cac218
commit d7c70ad12f
30 changed files with 376 additions and 13673 deletions

View File

@ -7,7 +7,7 @@ import {
} from 'angular2/angular2';
import {Ion} from '../ion';
import {IonInputItem} from '../form/input';
import {IonInput} from '../form/input';
import {IonicConfig} from '../../config/config';
import {IonicComponent, IonicView} from '../../config/annotations';
import {TapClick} from '../button/button';
@ -40,7 +40,7 @@ import {TapClick} from '../button/button';
'<ng-content></ng-content>' +
'</div>'
})
export class Checkbox extends IonInputItem {
export class Checkbox extends Ion {
constructor(
elementRef: ElementRef,
config: IonicConfig,
@ -50,6 +50,7 @@ export class Checkbox extends IonInputItem {
super(elementRef, config);
this.tapClick = tapClick;
this.tabIndex = 0;
this.id = IonInput.nextId();
this.onChange = (_) => {};
this.onTouched = (_) => {};