Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.1/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