mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +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 {IonicConfig} from '../../config/config';
|
||||||
import * as dom from '../../util/dom';
|
import * as dom from '../../util/dom';
|
||||||
|
|
||||||
@ -7,15 +6,12 @@ let activeInput = null;
|
|||||||
let lastInput = null;
|
let lastInput = null;
|
||||||
|
|
||||||
|
|
||||||
export class IonInput extends Ion {
|
export class IonInput {
|
||||||
constructor(
|
constructor(
|
||||||
elementRef: ElementRef,
|
elementRef: ElementRef,
|
||||||
ionicConfig: IonicConfig,
|
|
||||||
app: IonicApp,
|
app: IonicApp,
|
||||||
scrollView: Content
|
scrollView: Content
|
||||||
) {
|
) {
|
||||||
super(elementRef, ionicConfig);
|
|
||||||
|
|
||||||
this.elementRef = elementRef;
|
this.elementRef = elementRef;
|
||||||
this.app = app;
|
this.app = app;
|
||||||
this.scrollView = scrollView;
|
this.scrollView = scrollView;
|
||||||
|
@ -71,7 +71,7 @@ export class TextInput extends IonInput {
|
|||||||
app: IonicApp,
|
app: IonicApp,
|
||||||
config: IonicConfig
|
config: IonicConfig
|
||||||
) {
|
) {
|
||||||
super(elementRef, config, app, scrollView);
|
super(elementRef, app, scrollView);
|
||||||
|
|
||||||
if (container) {
|
if (container) {
|
||||||
container.registerInput(this);
|
container.registerInput(this);
|
||||||
|
Reference in New Issue
Block a user