createPrefixer

Creates a prefix function with a custom browser support range. It should be used together with the generateData API to generate the required data.

Arguments

Argument Type Description
data (Object) an object containing the a valid prefixMap and a plugins list

Returns

(Function): custom prefix function

Example

import { createPrefixer } from 'inline-style-prefixer'

const prefix = createPrefixer({
  prefixMap: __YOUR_PREFIX_MAP__,
  plugins: __YOUR_PLUGINS__
})

results matching ""

    No results matching ""