1.0.7 • Published 4 years ago
custom-route-selector v1.0.7
<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