JSPM

  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q96543F
  • License MIT

View components for Pure JavaScript lovers❤️

Package Exports

  • hardcore-client
  • hardcore-client/dist/hardcore.es6.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hardcore-client) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Hardcore.js

Front-end components for Pure JavaScript lovers❤️

var Sample = ViewController(function(self) {
    self.parent = "body";
    self.view = View([
        TextField({label: "Name", dataKey: "name"}),
        TextField({label: "Address", dataKey: "address"}),
        TextField({label: "Phone number", dataKey: "phoneNumber"}),
        Button({label: "JOIN", tapHandler: function() {
            var data = self.data;
            // Do as you like.
        }})
    ]);
});
var sample = new Sample();
sample.data = {};

Documents

License

MIT