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

x/netzo/deps/usehooks-ts.ts>useDocumentTitle

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
function useDocumentTitle
import { useDocumentTitle } from "https://deno.land/x/netzo@0.4.72/deps/usehooks-ts.ts";

A hook to set the document title.

Examples

useDocumentTitle('My new title');

Parameters

title: string
  • The title to set.
optional
options: Options$1
  • The options.