mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
Revert "IonInput extends Ion"
This reverts commit d9f46820f6563cf380b0a4cccf060dce6ba10ebb.
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
import {Ion} from '../ion';
|
||||
import {IonicConfig} from '../../config/config';
|
||||
import * as dom from '../../util/dom';
|
||||
|
||||
@ -7,15 +6,12 @@ let activeInput = null;
|
||||
let lastInput = null;
|
||||
|
||||
|
||||
export class IonInput extends Ion {
|
||||
export class IonInput {
|
||||
constructor(
|
||||
elementRef: ElementRef,
|
||||
ionicConfig: IonicConfig,
|
||||
app: IonicApp,
|
||||
scrollView: Content
|
||||
) {
|
||||
super(elementRef, ionicConfig);
|
||||
|
||||
this.elementRef = elementRef;
|
||||
this.app = app;
|
||||
this.scrollView = scrollView;
|
||||
|
@ -71,7 +71,7 @@ export class TextInput extends IonInput {
|
||||
app: IonicApp,
|
||||
config: IonicConfig
|
||||
) {
|
||||
super(elementRef, config, app, scrollView);
|
||||
super(elementRef, app, scrollView);
|
||||
|
||||
if (container) {
|
||||
container.registerInput(this);
|
||||
|
Reference in New Issue
Block a user