Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gplumb/SwipePanel

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SwipePanel

A gesture enabled page control for WinRT.

SwipePanel allows 'pages' to be added to a container, which may be navigated by mouse or touch swipe gestures. The container shows the currently selected page as a highlighted dot in a pager control (which may be styled using CSS).

Each page of the control can either be defined in markup, or injected at runtime.

The control has 2 simple properties:

.pageIndex - The currently selected page (0-n). This property may be read or set.
.pageCount - The total number of pages in the container. This property is read-only.

The control has 1 method:

.addPage(x) - Adds a page to the container. The page (x) must be a <div> element

See SwipePanel.sln for a WinJS demo that shows the control in action.

About

A gesture enabled page control for WinRT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.