source: imaps-frontend/node_modules/inline-style-prefixer/lib/plugins/cursor.js

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 422 bytes
Line 
1'use strict';
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = cursor;
7var prefixes = ['-webkit-', '-moz-', ''];
8
9var values = {
10 'zoom-in': true,
11 'zoom-out': true,
12 grab: true,
13 grabbing: true
14};
15
16function cursor(property, value) {
17 if (property === 'cursor' && values.hasOwnProperty(value)) {
18 return prefixes.map(function (prefix) {
19 return prefix + value;
20 });
21 }
22}
Note: See TracBrowser for help on using the repository browser.