philtoms / mithril.elements

Adds composable custom element types to Mithril
MIT License
42 stars 4 forks source link

Build Status

Mithril.Elements

A thin wrapper around the Mithril javascript framework that allows you to create composable custom element types:

    m('greet', 'Bob')

becomes:

    <div class="greet">
        <span>Hi</span><span>Bob!</span>
    </div>

For more informtion, please visit Mithril.Elements Starter Kit