mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 22:17:40 +08:00
test(nav): fix ngfactory error
This commit is contained in:
@ -23,7 +23,7 @@ const TEMPLATE: string = `
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
export class Base {
|
export class Base {
|
||||||
constructor(private _name: string) { }
|
constructor(public _name: string) { }
|
||||||
ionViewWillLoad() {
|
ionViewWillLoad() {
|
||||||
log(`${this._name} willLoad`);
|
log(`${this._name} willLoad`);
|
||||||
}
|
}
|
||||||
|
@ -135,7 +135,7 @@ export function setupEvents(platform: Platform, dom: DomController): Events {
|
|||||||
|
|
||||||
let content = <HTMLElement>el.closest('.scroll-content');
|
let content = <HTMLElement>el.closest('.scroll-content');
|
||||||
if (content) {
|
if (content) {
|
||||||
var scroll = new ScrollView(content, dom);
|
var scroll = new ScrollView(content);
|
||||||
// We need to stop scrolling if it's happening and scroll up
|
// We need to stop scrolling if it's happening and scroll up
|
||||||
|
|
||||||
content.style['WebkitBackfaceVisibility'] = 'hidden';
|
content.style['WebkitBackfaceVisibility'] = 'hidden';
|
||||||
|
Reference in New Issue
Block a user