Socket
Socket
Sign inDemoInstall

hig-vanilla

Package Overview
Dependencies
Maintainers
5
Versions
384
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hig-vanilla

Stateless implementation in pure CSS, HTML and JS with no framework dependecies


Version published
Weekly downloads
1
decreased by-91.67%
Maintainers
5
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 30 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc