You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

holowave

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

holowave

a visual effects api

1.0.5
latest
npmnpm
Version published
Maintainers
1
Created
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

Package last updated on 19 Jun 2016

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