mithril.component.mdl
v0.0.9
Published
Mithril google material design lite components
Downloads
15
Readme
mithril MDL components
This creates http://www.getmdl.io/ components for use with mithril.
Use state to create different components, for example:
m.components.mButton({text: "Hello"})
Is a "normal" coloured button, whereas this:
m.components.mButton({state: {fab: true, colored: true}, text: "add"})
Is a "fab" (round) button with a plus symbol
For further options, see the MDL documentation