You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
331 B
16 lines
331 B
var prefixes = ['-webkit-', '-moz-', ''];
|
|
|
|
var values = {
|
|
'zoom-in': true,
|
|
'zoom-out': true,
|
|
grab: true,
|
|
grabbing: true
|
|
};
|
|
|
|
export default function cursor(property, value) {
|
|
if (property === 'cursor' && values.hasOwnProperty(value)) {
|
|
return prefixes.map(function (prefix) {
|
|
return prefix + value;
|
|
});
|
|
}
|
|
} |