1.0.7 • Published 4 years ago

custom-route-selector v1.0.7

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

<custom-route-selector>

A navigating selector which listens for hashchange events & is designed to work with custom-route-pages

example

...
<custom-route-selector hash-bang>
  
  <span url="https://...." data-route="info"></span>
  
  <span hash="home" data-route="home"></span>
  <!-- or
  <span data-route="home"></span> -->
  
</custom-route-selector>
...

API

mixins

click()

dispatches 'route-selected' event on document

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago