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
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.