
cursor-helper
Cursor utility implementing all the different behaviors with priority between components
Example
Example on antoninlanglade.github.io/cursor-helper/
Features & Requirements
Module Installation & Usage
Installation from npm
$ npm install --save cursor-helper
$ yarn add cursor-helper
Usage with npm and a module bundler
import CursorHelper from 'cursor-helper'
const CursorHelper = require('cursor-helper')
const key = 'cursor-example'
CursorHelper.add(key, 10)
CursorHelper.setCursor(key, 'grab')
CursorHelper.remove(key)
Development commands
npm install - Install all npm dependencies
npm run start - Start the dev server with livereload on the example folder
npm run build - Bundle your library in CJS / UMD / ESM
npm run deploy - Deploy your example folder on a gh-page branch
npm run test - Lint your js inside the src folder
License
MIT.
Package
Packaged with https://github.com/pqml/brique :heart: