Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

mithril-material-forms

3.2.3 • Public • Published

mithril-material-forms

Lightweight input form components using mithril. Requires material-icon font to work correctly (checkbox, select).

    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

Use with

    m(Component, { requiredAttributes });

For attribute details check each component implementation in index.js. For a list of example build this project using npm run build and checkout the examples page in /test/index.html

v3 Breaking Changes

  • required mithril-dependency >= v2
  • all callbacks have mithil-lowercase names onchange instead of onChange
    • this was inconsistent in button, checkbox and input

Install

npm i mithril-material-forms

DownloadsWeekly Downloads

99

Version

3.2.3

License

MIT

Unpacked Size

104 kB

Total Files

55

Last publish

Collaborators

  • avatar