Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

design-het-widget

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

design-het-widget

Generative design for Design Week 2019 - Budapest, Hungary

  • 2.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

design-het-widget

Interactive web widget for Design Week 2019 - Budapest

Demo

http://brigittaforrai.com/design-het-widget/

Install

npm install design-het-widget --save

Import widget

Import widget into index.html or use javascript import

<!-- load widget bundle, which includes all the necessary dependencies -->
<head>
	<script src="node_modules/design-het-widget/dist/design-het-widget.min.js"></script>
</head>
import 'node_modules/design-het-widget/dist/design-het-widget.min.js'

Add components

<body>
<!-- Use the two components together -->
    <design-het music-url="path/to/music.mp3" style="width: 100%; height: 100%; position: fixed; left: 0; top: 0; z-index: -100;"></design-het>
    <design-het-interface></design-het-interface>
</body>

Attributes

design-het-interface:

disable-download:
  • default: false
<design-het-interface disable-download="true"></design-het-interface>

design-het:

music-url:
<design-het music-url="music.mp3"></design-het>
circles:
  • Number of bigger circle groups
  • Fallback value: 1
  • Max value: 3
<design-het circles="3" ></design-het>

Polyfill

Add webcomponents polyfill to support older browsers. https://www.webcomponents.org/polyfills

<script src="https://unpkg.com/@webcomponents/webcomponentsjs@^2/webcomponents-bundle.js"></script>

or

npm install @webcomponents/webcomponentsjs

FAQs

Package last updated on 28 Sep 2019

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