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:

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, Pivot

Operating system requirements

Client
None supported
Server
None supported
Phone
Windows Phone 8.1

Build the sample

  1. Start Visual Studio 2013 Update 2 and select File > Open > Project/Solution.
  2. 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.
  3. 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.