○ Mithril Guide API Community Learn Download Github

API (v$version)

Core

  • m
  • m.component
  • m.mount
  • m.prop
  • m.withAttr

Routing

  • m.route
    • m.route(rootElement, defaultRoute, routes)
    • m.route(path, params, replaceHistory)
    • m.route()
    • m.route(element)
    • m.route.mode
    • m.route.param
    • m.route.buildQueryString
    • m.route.parseQueryString

Data

  • m.request
  • m.deferred
  • m.sync

HTML

  • m.trust

Rendering

  • m.render
  • m.redraw
    • m.redraw.strategy(strategy)
  • m.startComputation / m.endComputation

Testing

  • m.deps

History

  • Roadmap
  • Change log
{DOC}
Released under the MIT license
© 2014 Leo Horie