Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.5.66/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.