mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
chore(): rename IonicKeyboard to Keyboard
This commit is contained in:
@ -2,7 +2,7 @@ import {Component, ElementRef, Optional} from 'angular2/angular2';
|
||||
|
||||
import {Ion} from '../ion';
|
||||
import {Config} from '../../config/config';
|
||||
import {IonicKeyboard} from '../../util/keyboard';
|
||||
import {Keyboard} from '../../util/keyboard';
|
||||
import {ViewController} from '../nav/view-controller';
|
||||
import {Animation} from '../../animations/animation';
|
||||
import {ScrollTo} from '../../animations/scroll-to';
|
||||
@ -35,7 +35,7 @@ export class Content extends Ion {
|
||||
* @param {ElementRef} elementRef A reference to the component's DOM element.
|
||||
* @param {Config} config The config object to change content's default settings.
|
||||
*/
|
||||
constructor(elementRef: ElementRef, config: Config, keyboard: IonicKeyboard, @Optional() viewCtrl: ViewController) {
|
||||
constructor(elementRef: ElementRef, config: Config, keyboard: Keyboard, @Optional() viewCtrl: ViewController) {
|
||||
super(elementRef, config);
|
||||
this.scrollPadding = 0;
|
||||
this.keyboard = keyboard;
|
||||
|
@ -5,7 +5,7 @@ import {IonicApp} from '../app/app';
|
||||
import {Config} from '../../config/config';
|
||||
import {ConfigComponent} from '../../config/decorators';
|
||||
import {Platform} from '../../platform/platform';
|
||||
import {IonicKeyboard} from '../../util/keyboard';
|
||||
import {Keyboard} from '../../util/keyboard';
|
||||
import * as gestures from './menu-gestures';
|
||||
|
||||
|
||||
@ -69,7 +69,7 @@ export class Menu extends Ion {
|
||||
elementRef: ElementRef,
|
||||
config: Config,
|
||||
platform: Platform,
|
||||
keyboard: IonicKeyboard
|
||||
keyboard: Keyboard
|
||||
) {
|
||||
super(elementRef, config);
|
||||
this.app = app;
|
||||
|
@ -6,7 +6,7 @@ import {Config} from './config';
|
||||
import {Platform} from '../platform/platform';
|
||||
import {OverlayController} from '../components/overlay/overlay-controller';
|
||||
import {IonicForm} from '../util/form';
|
||||
import {IonicKeyboard} from '../util/keyboard';
|
||||
import {Keyboard} from '../util/keyboard';
|
||||
import {ActionSheet} from '../components/action-sheet/action-sheet';
|
||||
import {Modal} from '../components/modal/modal';
|
||||
import {Popup} from '../components/popup/popup';
|
||||
@ -51,7 +51,7 @@ export function ionicProviders(config) {
|
||||
provide(FeatureDetect, {useValue: featureDetect}),
|
||||
provide(Events, {useValue: events}),
|
||||
IonicForm,
|
||||
IonicKeyboard,
|
||||
Keyboard,
|
||||
OverlayController,
|
||||
ActionSheet,
|
||||
Modal,
|
||||
|
@ -6,7 +6,7 @@ import * as dom from './dom';
|
||||
|
||||
|
||||
@Injectable()
|
||||
export class IonicKeyboard {
|
||||
export class Keyboard {
|
||||
|
||||
constructor(config: Config, form: IonicForm, zone: NgZone) {
|
||||
this.form = form;
|
||||
|
Reference in New Issue
Block a user