1.0.5 • Published 8 years ago

holowave v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

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

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago