The Windows UI Core APIs handle events related to the window your app is running in—things like input and dialogs. We are going to learn how to enable a traditional back button in our application using the System Navigation Manager and then handle events it generates in our user interface.
- View Offline
- [Voiceover] We are going to explore a new API,…and that is the Windows UI core API.…This API handles events related to the window…that your app is actually running in,…so things like input or back button or dialogs.…We are going to use a system navigation manager…to enable a traditional back button in our application,…and while doing so we'll learn…how to use these types of APIs.…Let's go to the list dot js.…When someone goes to this page,…we're gonna want to show that back button and enable it.…
The first thing we need to do is we need to create…a reference to the system navigation manager,…so var system navigation manager is equal to,…and we're gonna go windows dot UI dot core,…and we're gonna look for the system navigation manager.…What we want to get a reference to,…is we want to get a reference to…the actual current view or the current window we're in.…We need to go get for current view.…
That's gonna give us a reference…to what's happening within our current view.…Now what we wanna do is we wanna listen for…
Watch to gain an understanding of the Universal Windows Platform and the application life cycle. Learn to create adaptive layouts with WinJS controls. Discover how to store and share data, capture a variety of input, and explore the unified Microsoft-specific APIs: Windows Core and Geolocation. Stacey Mulcahy, a Windows evangelist, provides developers with everything they need to start building Universal Windows apps and break into cross-device development.
- Setting up your development environment
- Coding in WinJS
- Creating page objects
- Animating page transitions
- Implementing responsive design principles and UI patterns
- Working with layout controls
- Using APIs: Windows Core and Geolocation
- Saving and reading data