This sample demonstrates the basics of using the WinJS.UI.Pivot control for Windows Phone, which allows native UX for modern web apps
Specifically, this sample demonstrates how to:
- Declare a WinJS.UI.Pivot control in HTML markup.
- Change the displayed WinJS.UI.PivotItem control in the Pivot control.
- Use a Pivot control in combination with a multi-select WinJS.UI.ListView control.
Note This sample features APIs that are only available on Windows Phone 8.1. If you want similar functionality in Windows, see HTML Hub control sample
To obtain an evaluation copy of Microsoft Visual Studio 2013, go to Visual Studio 2013.
Related technologies
Windows 8 apps using JavaScript, PivotOperating system requirements
| Client | |
|---|---|
| Server | |
| Phone |
Build the sample
- Start Visual Studio 2013 Update 2 and select File > Open > Project/Solution.
- Go to the directory to which you unzipped the sample. Then go to the subdirectory named for the sample and double-click the Visual Studio 2013 Update 2 Solution (.sln) file.
- Press Ctrl+Shift+B or use Build > Build Solution to build the sample.
Run the sample
To debug the app and then run it, press F5 or use Debug > Start Debugging. To run the app without debugging, press Ctrl+F5 or use Debug > Start Without Debugging.