IonInput extends Ion

This commit is contained in:
Adam Bradley
2015-07-16 16:49:16 -05:00
parent e155663565
commit d9f46820f6
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
import {Ion} from '../ion';
import {IonicConfig} from '../../config/config';
import * as dom from '../../util/dom';
@@ -6,12 +7,15 @@ let activeInput = null;
let lastInput = null;
export class IonInput {
export class IonInput extends Ion {
constructor(
elementRef: ElementRef,
ionicConfig: IonicConfig,
app: IonicApp,
scrollView: Content
) {
super(elementRef, ionicConfig);
this.elementRef = elementRef;
this.app = app;
this.scrollView = scrollView;

View File

@@ -71,7 +71,7 @@ export class TextInput extends IonInput {
app: IonicApp,
config: IonicConfig
) {
super(elementRef, app, scrollView);
super(elementRef, config, app, scrollView);
if (container) {
container.registerInput(this);