Neurophysiologically Pseudoscientific Manatee

    mithril.component.mdl

    0.0.9 • Public • Published

    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

    Install

    npm i mithril.component.mdl

    DownloadsWeekly Downloads

    2

    Version

    0.0.9

    License

    MIT

    Last publish

    Collaborators

    • jsguy