Skip to content

Commit

Permalink
test: demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Nov 20, 2020
1 parent 656b367 commit 7502883
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/app/main-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { HelloWorldModel } from './main-view-model';

// Event handler for Page "navigatingTo" event attached in main-page.xml
export function navigatingTo(args: EventData) {
const page = args.object as Page;
page.bindingContext = new HelloWorldModel(page);
const page = args.object as Page;
page.bindingContext = new HelloWorldModel(page);
}

0 comments on commit 7502883

Please sign in to comment.