Skip to main content
Module

x/htm/mod.ts>HtmlOptions

Create `text/html` response with JSX.
Latest
interface HtmlOptions
import { type HtmlOptions } from "https://deno.land/x/htm@0.2.3/mod.ts";

Properties

optional
lang: string
optional
classes: { html?: (string | boolean)[]; body?: (string | boolean)[]; }
optional
title: string
optional
meta: Record<string,
| boolean
| string
| null
| undefined
>
optional
styles: (boolean | string | { href?: string; text?: string; id?: string; })[]
optional
scripts: (boolean | string | { src?: string; text?: string; type?: string; id?: string; async?: boolean; defer?: boolean; })[]
optional
plugins: Plugin[]