renaissance-spa
v0.2.5
Published
renaissance spa adpater
Downloads
44
Readme
renaissance-spa
renaissance spa (Single Page Application) adapter
Usage
const { r } = require('renaissance')
const SpaAdapter = require('renaissance-spa')
const adapter = r.registerAdapter('spa', SpaAdapter)
adapter.register('foo', '#bar')
adapter.goto('foo')
API
adapter.register({string} name, {string} selector)
Register a SPA container
adapter.goto({string} name)
Go to registered page with specified name
Contributing
See CONTRIBUTING
Credits
See CREDITS
License
MIT (c) 2017 - 2023 frncsdrk and contributors