text input focus updates

This commit is contained in:
Adam Bradley
2015-08-26 10:38:58 -05:00
parent cdf2b125a0
commit a40c1362e5
7 changed files with 63 additions and 78 deletions

View File

@ -10,10 +10,7 @@ import {ScrollTo} from '../../animations/scroll-to';
selector: 'ion-content',
properties: [
'parallax'
],
host: {
['[class.scroll-padding]']: 'scrollPadding'
}
]
})
@View({
template: '<div class="scroll-content"><ng-content></ng-content></div>'
@ -21,8 +18,6 @@ import {ScrollTo} from '../../animations/scroll-to';
export class Content extends Ion {
constructor(elementRef: ElementRef, config: IonicConfig) {
super(elementRef, config);
this.scrollPadding = config.setting('keyboardScrollAssist');
}
onIonInit() {
@ -88,12 +83,4 @@ export class Content extends Ion {
}
}
get scrollPadding() {
return this._sp;
}
set scrollPadding(val) {
this._sp = val;
}
}