video-jogwheel

1.0.1 • Public • Published

video-jogwheel Build Status

Usage

Include dist/video-jogwheel-es5.js and pass a video element to the constructor, like this:

let video = document.querySelector('video');
let vjw = new video_jogwheel(video);

Now wizz the mouse wheel back and forth over the video.

The package is also fully webpack compatible.

Build

run npm install to install the dependencies, and grunt build to build (or ./node_modules/.bin/grunt build if you do not have grunt, grunt CLI locally installed.

This will run code checkers and linters and the test suite, report on coverage and build build dist/video-jogwheel_es5.js, an ES5 babel transpile of the ES6 source.

Running grunt watch:build will watch for changes to the source or tests and invoke the full build cycle when they are detected. Running grunt watch:test will again watch for changes, and invoke the most light weight possible file test cycle.

Note that in the event of stack traces being output during the full build, with coverage reports, the stack trace line numbers will be broken. Run test or watch:test for valid stack traces instead of build.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1

Package Sidebar

Install

npm i video-jogwheel

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

29.5 kB

Total Files

12

Last publish

Collaborators

  • mjwright