Skip to main content
Module

x/fresh/plugins/twindv1_deps.ts>Sheet

The next-gen web framework.
Extremely Popular
Latest
interface Sheet
import { type Sheet } from "https://deno.land/x/fresh@1.6.8/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