Module

x/fresh/plugins/twindv1_deps.ts>getSheet

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

Returns a sheet useable in the current environment.

Parameters

optional
useDOMSheet: boolean

usually something like process.env.NODE_ENV != 'production' or import.meta.env.DEV (default: browser=cssom, server=virtual)

optional
disableResume: boolean

to not include or use resume data

Returns

Sheet<string[] | HTMLStyleElement | CSSStyleSheet>

a sheet to use