Adds composable custom element types to Mithril
JavaScript HTML
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

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