All Projects → gregberge → bobun-ui

gregberge / bobun-ui

Licence: other
Set of UI components based on Backbone Bobun.

Programming Languages

javascript
184084 projects - #8 most used programming language

Bobun UI Build Status

This plugin is no longer actively maintained, you can still use it but issues will not be resolved. If you want the npm name, you can contact me by email.

Set of UI components based on Bobun.

Components

Button

var button = new Bobun.UI.Button({
   label: 'My Button'
});
button.set('disabled', true);

IconButton

var iconButton = new Bobun.UI.IconButton({
  label: 'My Icon Button',
  defaultIconClassName: 'icon-list'
});
iconButton.set('processing', true);

Input

var input = new Bobun.UI.Input();
input.on('keyup', function (e) {
  // keyup
});

Label

var label = new Bobun.UI.Label({
  label: 'My text'
});

Select

var select = new Bobun.UI.Select({
   choices: {
     1: 'Yes'
     0: 'No'
   }
});
select.on('change', function (e) {
  // change
});

Modal

var modal = new Bobun.UI.Modal({
   title: 'My title',
   buttons: [...]
});
modal.modal('show');

Dropdown

var dropdown = new Bobun.UI.Dropdown({
  label: 'My dropdown',
  choices: [
     {
        label: 'My choice',
        link: '#'
     }
  ]
});

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].