source: imaps-frontend/node_modules/inline-style-prefixer/es/plugins/cursor.js@ d565449

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

Update repo after prototype presentation

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