philtoms / mithril.elements

Adds composable custom element types to Mithril

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Adds composable custom element types to Mithril

License:MIT License


Languages

Language:JavaScript 95.0%Language:HTML 5.0%