Module

x/fresh/plugins/twindv1_deps.ts>Sheet

The next-gen web framework.
Extremely Popular
Latest
interface Sheet
import { type Sheet } from "https://dotland.deno.dev/x/fresh@1.7.3/plugins/twindv1_deps.ts";

Type Parameters

optional
Target = unknown

Properties

readonly
target: Target

Methods

insert(
cssText: string,
index: number,
rule: SheetRule,
): void
snapshot(): RestoreSnapshot
clear(): void

Clears all CSS rules from the sheet.

destroy(): void
resume(addClassName: (className: string) => void, insert: (cssText: string, rule: SheetRule) => void): void