Skip to main content
Module

x/live/mod.ts>BlockModule

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Very Popular
Go to Latest
type alias BlockModule
import { type BlockModule } from "https://deno.land/x/live@1.57.2/mod.ts";

Type Parameters

optional
TDefaultExportFunc extends ResolverLike<T> = ResolverLike
optional
T = TDefaultExportFunc extends ResolverLike<infer TValue> ? TValue : any
optional
TSerializable = T
definition: { default: TDefaultExportFunc; invoke?: Resolver<TSerializable, BlockInvocation, any>; preview?: Resolver<PreactComponent, TSerializable, any>; Preview?: ComponentFunc; onBeforeResolveProps?: (props: any, hints: HintNode<any>) => any; }