Skip to content

speedr/cursor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published