Skip to content

A lightweight content switcher built with web components.

License

Notifications You must be signed in to change notification settings

emilbillberg/x-pages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Published on webcomponents.org

x-pages

A lightweight content switcher built with webcomponents.

Install

bower install --save emilbillberg/x-pages

Example

<x-pages selected="[[page]]">
   <div selected="home">Home</div>
   <div selected="about">About</div>
   <div selected="contact">Contact</div>
</x-pages>

Usage

First, make sure you have the Polymer CLI installed. Then run polymer serve to serve your application locally.

polymer serve

Test

Your application is already set up to be tested via web-component-tester. Run polymer test to run your application's test suite locally.

polymer test

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT

About

A lightweight content switcher built with web components.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages