Files
NativeScript/tests/app/ui/page/page.md
Nikolay Tsonev ea9213b243 edit broken page snippet tag (#4776)
* edit broken page snippet tag

* Increase timeout for HTTP tests (#4775)

* Typos (#4789)

* TypeScript 2.5 compatibility (#4794)

* edit broken page snippet tag

* fix(date-picker): Date picker changed check (#4797)

* edit broken page snippet tag
2017-09-05 18:23:46 +03:00

710 B

nav-title, title, environment, description, previous_url
nav-title title environment description previous_url
Page How-To page nativescript Examples for using Page /ApiReference/ui/page/HOW-TO

Page

Using a page requires the Page module. {%snippet article-require-page-module%}

Attaching event handler for the Page loaded event to set bindingContext.

<Page loaded="pageLoaded">
  {%raw%}<Label text="{{ name }}" />{%endraw%}
</Page>

{%snippet article-set-bindingcontext%}

Creating and navigating to the created page.

{%snippet article-create-navigate-to-page%}

Navigating backward is as simple as calling a single method.

{%snippet article-navigating-backward%}

Pass data to the new page.

{%snippet article-pass-data%}