Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fresh/plugins/twindv1_deps.ts>Sheet

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