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

x/fresh/plugins/twindv1_deps.ts>TxFunction

The next-gen web framework.
Extremely Popular
Go to Latest
interface TxFunction
import { type TxFunction } from "https://deno.land/x/fresh@1.6.1/plugins/twindv1_deps.ts";

Call Signatures

(...classes: Class[]): string
(strings: TemplateStringsArray, ...interpolations: readonly Class[]): string

Methods

bind(thisArg?: ((tokens: string) => string) | undefined | void): TxFunction
call(thisArg: ((tokens: string) => string) | undefined | void, ...classes: Class[]): string
call(
thisArg: ((tokens: string) => string) | undefined | void,
strings: TemplateStringsArray,
...interpolations: readonly Class[],
): string
apply(thisArg: ((tokens: string) => string) | undefined | void, classes: Class[] | [TemplateStringsArray, readonly Class[]]): string