Skip to main content
Go to Latest
class default
import { default } from "https://deno.land/x/postcss_autoprefixer@0.2.4/lib/supports.js";

Constructors

new
default(Prefixes, all)

Methods

add(nodes, all)

Add prefixes

Clean brackets with one child

convert(progress)

Add " or " between properties and convert it to brackets format

disabled(node)

Check global options

isHack(all, unprefixed)

Return true if prefixed property has no unprefixed

isNot(node)

Return true if brackets node is "not" word

isOr(node)

Return true if brackets node is "or" word

isProp(node)

Return true if brackets node is (prop: value)

normalize(nodes)

Compress value functions into a string nodes

parse(str)

Parse string into declaration property and value

Return array of Declaration with all necessary prefixes

Return prefixer only with @supports supported browsers

process(rule)

Add prefixed declaration

remove(nodes, all)

Remove all unnecessary prefixes

toRemove(str, all)

Return true if we need to remove node

virtual(str)

Create virtual rule to process it by prefixer