xio-router
v0.2.0
Published
Simple javascript router
Downloads
8
Readme
xio-router
Simple javascript router
Router.goto('person/543');
Router.addOnLoad("person", (view, params) => { console.log("Person page was loaded, personId:" + params.personId); const person = loadPerson(params.personId); view.querySelect('h1').textContent = person.name; });