mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(apps): fix rootlayout page class name (#9279)
This commit is contained in:
committed by
Nathan Walker
parent
cc592b63fd
commit
b4415683d8
@@ -2,10 +2,10 @@ import { EventData, Page, Observable, RootLayoutOptions, getRootLayout, StackLay
|
||||
|
||||
export function navigatingTo(args: EventData) {
|
||||
const page = <Page>args.object;
|
||||
page.bindingContext = new BoxShadowModel();
|
||||
page.bindingContext = new RootLayoutModel();
|
||||
}
|
||||
|
||||
export class BoxShadowModel extends Observable {
|
||||
export class RootLayoutModel extends Observable {
|
||||
popupViews: { view: View; options: RootLayoutOptions; extra?: any }[] = [
|
||||
{
|
||||
view: this.getPopup('#EA5936', 110, -30),
|
||||
|
||||
Reference in New Issue
Block a user