kd.js

1.2.4 • Public • Published

Build Status npm Coverage Status

kd.js

a collection of ui widgets and other nice things.

npm i kd.js

usage

var main = new kd.View;
main.appendToDomBody();
 
var input = new kd.InputView;
var form = new kd.View;
 
form.addSubView(input);
form.addSubView(new kd.ButtonView({
  title: 'i\'m a button. type in your name and click on me',
  callback: function () {
    alert('sup ' + input.getValue())
  }
}));
 
var tabs = new kd.TabView({
  hideHandleCloseIcons: true,
  paneData: [
    {
      title: 'tab1',
      partial: 'that\'s me, tab1'
    },
    {
      title: 'form',
      view: form
    }
  ]
});
 
main.addSubView(tabs);

example

Type make example to checkout some examples.

development

To watch lib and build standalone umd package into dist folder upon changes, type: make development-dist

If you want to recompile each coffee individually into build folder, type: make development

Since package.json exposes only build folder; if you are bundling kd.js with browserify, second method (along with a npm link) might be a better option.

license

mit

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.2.44latest
1.1.261beta

Version History

VersionDownloads (Last 7 Days)Published
1.2.44
1.2.31
1.2.22
1.2.11
1.2.01
1.1.311
1.1.301
1.1.291
1.1.271
1.1.261
1.1.251
1.1.241
1.1.231
1.1.221
1.1.211
1.1.201
1.1.191
1.1.181
1.1.171
1.1.161
1.1.151
1.1.141
1.1.131
1.1.122
1.1.111
1.1.101
1.1.91
1.1.82
1.1.71
1.1.61
1.1.51
1.1.41
1.1.31
1.1.21
1.1.11
1.1.01
1.0.131
1.0.121
2.0.02
1.0.111
1.0.101
1.0.91
1.0.81
1.0.71
1.0.61
1.0.51
1.0.41
1.0.31
1.0.21
1.0.11
1.0.01
0.2.0-rc32
0.2.0-rc21
0.2.0-rc11
0.1.21
0.1.11

Package Sidebar

Install

npm i kd.js

Homepage

kd.io

Weekly Downloads

64

Version

1.2.4

License

MIT

Last publish

Collaborators

  • mgg
  • fatihacet
  • usirin
  • sinan
  • alex-ionochkin
  • koding