mithril-vndb/docs
Yuri a560bca85d Improve the documentation of routing parameters
I was stuck on this for a while earlier today: it turns out that `m.route.param` will not return the right results in the `onmatch` function on a `RouterResolver`, though it will inside of a `render` function on the same. This behavior is documented in the `onmatch` section but not the `m.route.param` section, which is where I was looking when I ran up against this earlier.

From an API design perspective it would make sense to me for `m.route.param` to return valid results inside `onmatch`, but I don't know enough about Mithril's internals to know how complex it would be to implement.
2017-05-03 21:21:57 -04:00
..
animation.md suggest alternative to animating box-shadow 2017-02-01 00:56:04 +01:00
api.md doc fixes 2017-01-08 14:47:38 -05:00
autoredraw.md docs: mithril does not autoredraw on Promise resolution. (#1570) 2017-01-31 10:02:10 -08:00
buildQueryString.md update docs, add descriptions for api methods 2016-12-02 17:51:07 -05:00
change-log.md chore: Update repo references (#1834) 2017-05-02 09:24:12 -07:00
CNAME Docs auto-push to gh-pages branch 2017-03-07 22:07:55 -08:00
code-of-conduct.md docs: add code of conduct and nav link 2017-04-11 10:32:00 -07:00
components.md docs: Update components.md (#1818) 2017-04-27 16:49:19 -07:00
contributing.md chore: Update repo references (#1834) 2017-05-02 09:24:12 -07:00
credits.md #1609 fix lifecycle hooks in children of recycled keyed vnode 2017-02-09 08:31:08 -05:00
css.md Fix typos in CSS-in-JS, qualify J2C recommendation 2017-01-30 16:30:48 +00:00
es6.md docs: Fix typo in es6.md (#1827) 2017-04-30 23:36:47 -07:00
examples.md chore: Update repo references (#1834) 2017-05-02 09:24:12 -07:00
favicon.ico docs: Add favicon (#1839) 2017-05-02 09:34:13 -07:00
favicon.png docs: Add favicon (#1839) 2017-05-02 09:34:13 -07:00
fragment.md API docs signature fixes for route resolver, jsonp, fragment 2017-02-11 21:31:10 -05:00
framework-comparison.md chore: Update repo references (#1834) 2017-05-02 09:24:12 -07:00
generate.js docs: Add favicon (#1839) 2017-05-02 09:34:13 -07:00
hyperscript.md Revert "Pass vnode as second argument" 2017-04-28 16:40:13 -04:00
index.md Merge branch 'next' into load-mithril 2017-04-11 10:27:52 +02:00
installation.md chore: Update repo references (#1834) 2017-05-02 09:24:12 -07:00
jsonp.md API docs signature fixes for route resolver, jsonp, fragment 2017-02-11 21:31:10 -05:00
jsx.md docs(jsx.md): add missing "!" 2017-04-27 17:21:00 +03:00
keys.md Improve keys example 2017-03-30 18:46:42 +02:00
layout.html docs: Add favicon (#1839) 2017-05-02 09:34:13 -07:00
lifecycle-methods.md docs: fix onremove lifecycle doc (#1552) 2017-01-19 10:04:53 -08:00
lint.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
logo.svg prep docs 2017-01-30 10:43:22 -05:00
mount.md Add example for mounting a component with args 2017-04-12 10:23:50 -04:00
nav-guides.md chore: Update repo references (#1834) 2017-05-02 09:24:12 -07:00
nav-methods.md chore: Update repo references (#1834) 2017-05-02 09:24:12 -07:00
parseQueryString.md update docs, add descriptions for api methods 2016-12-02 17:51:07 -05:00
promise.md update docs, add descriptions for api methods 2016-12-02 17:51:07 -05:00
redraw.md Fix small typos in the rewrite docs (#1533) 2017-01-11 15:41:15 -08:00
releasing.md chore: Update repo references (#1834) 2017-05-02 09:24:12 -07:00
render.md lint links 2017-01-08 21:29:26 -05:00
request.md Correct example code 2017-05-01 22:54:05 -07:00
route.md Improve the documentation of routing parameters 2017-05-03 21:21:57 -04:00
signatures.md document optional url arg in request 2016-11-11 18:20:42 -05:00
simple-application.md chore: Update repo references (#1834) 2017-05-02 09:24:12 -07:00
stream.md docs: stream scan and scanMerge (#1719) 2017-03-24 22:06:59 -07:00
style.css docs: Fix missing generated docs (#1754) 2017-03-28 11:21:01 -07:00
testing.md chore: Update repo references (#1834) 2017-05-02 09:24:12 -07:00
trust.md update docs, add descriptions for api methods 2016-12-02 17:51:07 -05:00
version.md small tweaks to docs 2016-12-01 01:49:19 -05:00
vnodes.md Document closure components (formerly known as "factory components") and flesh out class components docs 2017-03-27 16:47:45 +02:00
withAttr.md make callback signature consistent w/ return value 2017-01-24 08:29:54 -05:00