Skip to content

PabloLefort/mithril-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mithril Js Components

Library to speed up your application development 🚀

Example

// Instead of
var myComponent = {
  view: function(){
    return m('div', {class: 'my-class'}, [
      m('input', {type: 'radio'}),
      m('input', {type: 'radio', name: 'custom-name', id: 'custom-id'})
    ])
  }
}

// You can use
var myComponent = {
  view: function(){
    return m('div', {class: 'my-class'}, [
      m(radio),
      m(radio, {name: 'custom-name', id: 'custom-id'})
    ])
  }
}

About

Basic components for mithril js

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published