mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +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;
|
||||
|
||||
Reference in New Issue
Block a user