Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 440 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 440 Bytes

cursor

Cursor selection made easy

Install

$ npm install --save speedr/cursor

Usage

var cursor = require('cursor');

cursor();           // Use 'default'
cursor('pointer');  // Use 'pointer'
cursor('grabbing'); // Use 'grabbing' or '-webkit-grabbing' or '-moz-grabbing'

API

cursor()

Set cursor to default.

cursor(type)

Set cursor to the given type.

License

MIT © Florent Cailhol