Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

VariantHandlerContext

interface VariantHandlerContext {
entries: CSSEntries;
layer?: string;
noMerge?: boolean;
parent?: string;
parentOrder?: number;
prefix: string;
pseudo: string;
selector: string;
sort?: number;
}

§Properties

§

Rewrite the output css body. The input come in [key,value][] pairs.

§
layer?: string
[src]

Override layer to the output css.

§
noMerge?: boolean
[src]

Option to not merge the resulting entries even if the body are the same.

§
parent?: string
[src]

Provide a parent selector(e.g. media query) to the output css.

§
parentOrder?: number
[src]

Provide order to the parent parent selector within layer.

§
prefix: string
[src]

Rewrite the output selector. Often be used to append parents.

§
pseudo: string
[src]

Rewrite the output selector. Often be used to append pseudo elements.

§
selector: string
[src]

Rewrite the output selector. Often be used to append pseudo classes.

§
sort?: number
[src]

Order in which the variant is sorted within single rule.