hig-vanilla

0.1.27 • Public • Published

hig-vanilla

DEPRECATION WARNING: this package is no longer getting updates. Use the component packages published in the @hig namespace, and browse their source at packages.

The HIG Web implementation consists of html, css and js. You can opt to only consume the html and css part and write the wrapper against the interface.json yourself (hard) or opt to use our js wrapper directly (easy).

Install

We use Yarn for development.

yarn
yarn lib # compiles library into lib/ 

Consuming Basic Example: Button

var Button = new Hig.Button({
    "title": "just a button",
    "link": "http://autodesk.com"
});
 
Button.mount("body");
 
Button.onClick(function(e){
    e.preventDefault();
    console.log("Button CLICK")
});

More examples can be found in each components' test directories.

Contribute

Please see DEVELOPING.md and CONTRIBUTING.md.

Readme

Keywords

none

Package Sidebar

Install

npm i hig-vanilla

Weekly Downloads

0

Version

0.1.27

License

Apache-2.0

Unpacked Size

658 kB

Total Files

4

Last publish

Collaborators

  • hig-bot
  • nfiniteset
  • wmui51
  • staceyshk
  • morrisallison
  • aneyzberg
  • hig-dev
  • efung