mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
test(nav): fix ngfactory error
This commit is contained in:
@ -23,7 +23,7 @@ const TEMPLATE: string = `
|
||||
`;
|
||||
|
||||
export class Base {
|
||||
constructor(private _name: string) { }
|
||||
constructor(public _name: string) { }
|
||||
ionViewWillLoad() {
|
||||
log(`${this._name} willLoad`);
|
||||
}
|
||||
|
@ -135,7 +135,7 @@ export function setupEvents(platform: Platform, dom: DomController): Events {
|
||||
|
||||
let content = <HTMLElement>el.closest('.scroll-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
|
||||
|
||||
content.style['WebkitBackfaceVisibility'] = 'hidden';
|
||||
|
Reference in New Issue
Block a user