Socket
Socket
Sign inDemoInstall

holowave

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    holowave

a visual effects api


Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Install size
5.75 kB
Created
Weekly downloads
 

Readme

Source

#Holowave api a visual indicator which can be used to represent the processing of various actions! E.G's: loading, audio playback, video playback, calls, voice input.. check the demo out

##API holoWave.attach(domParent); holoWave.play(); holoWave.pause(); holoWave.stop(); holoWave.detach();

##Demo App var holoWave = require("holowave");

holoWave.attach(document.body);

function buttonHelper(name, fn){
    var btn = document.createElement("button");
    btn.innerHTML = name;
    btn.addEventListener("click", fn);
    document.body.appendChild(btn);
}

buttonHelper("play", holoWave.play);
buttonHelper("pause", holoWave.pause);
buttonHelper("stop", holoWave.stop);

Note: this is a client-side package so make sure you have browserify installed. sudo npm install -g browserify and include <script src="bundle.js> </script> in your index.html. then run browserify yourApp.js > bundle.js from the cmd line to require holowave.

FAQs

Last updated on 19 Jun 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc