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

Sheet

interface Sheet <Target = unknown> {
readonly target: Target;
clear(): void;
destroy(): void;
insert(
cssText: string,
index: number,
rule: SheetRule,
): void;
resume(addClassName: (className: string) => void, insert: (cssText: string, rule: SheetRule) => void): void;
snapshot(): RestoreSnapshot;
}

§Type Parameters

§
Target = unknown
[src]

§Properties

§
readonly target: Target
[src]

§Methods

§
clear(): void
[src]

Clears all CSS rules from the sheet.

§
destroy(): void
[src]
§
insert(
cssText: string,
index: number,
rule: SheetRule,
): void
[src]
§
resume(addClassName: (className: string) => void, insert: (cssText: string, rule: SheetRule) => void): void
[src]