hardcore-client

1.0.83 • Public • Published

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

Package Sidebar

Install

npm i hardcore-client

Weekly Downloads

5

Version

1.0.83

License

MIT

Unpacked Size

806 kB

Total Files

7

Last publish

Collaborators

  • mill6-plat6aux