-
Notifications
You must be signed in to change notification settings - Fork 1
prefixed
Toke Voltelen edited this page Dec 3, 2016
·
4 revisions
Adds vendor prefixes to a string.
-
str
(String) - The string to add vendor prefixes to - returns (Array<String>) - An array of the string with prefixes
import prefixed from 'vanillajs-browser-helpers/prefixed';
prefixed('matches'); // -> ['webkitMatches', 'mozMatches', 'msMatches', 'oMatches']