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

x/fresh/tests/deps.ts>Page#setContent

The next-gen web framework.
Extremely Popular
Go to Latest
method Page.prototype.setContent
Re-export
import { Page } from "https://deno.land/x/fresh@1.5.4/tests/deps.ts";

Parameters

html: string
  • HTML markup to assign to the page.
optional
options: WaitForOptions
  • Parameters that has some properties.

Returns

Promise<void>