Monkee-Route

more

A library for create spa applictions (~ 2KB)

- add `monkee` to a tags to add to Monkee-SPA
- add `monkee-hidden` to add hidden links to Monkee-SPA
- add `monkee-404` to be the 404 page (missing #)
- all script in start-page will be kept
- title of start-page will be first part of title
- hash will be removed from start-page
- no `monkee-404` then the start-page will be used
- `monkee-hidden` doesn't really hide the link use display:none for that
- in fact, you can do the same with `monkee` & diplay:none :p
- title will be filename without extension ('foobar.html' title will be 'foobar')
- "href='/path/foo'" will load 'path/foo.html'
- body of start-page will be replaced, scripts in original file will kept
- `window.addEventListener('onLoadUpdate', function(e) {console.warn(e);}, true);`
        
down