○ Mithril Guide API Community Learn Download Github

API (v0.1.27)

Core

  • m
  • m.module
  • m.prop
  • m.withAttr

Routing

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

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
Released under the MIT license
© 2014 Leo Horie