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

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

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

Parameters

enabled: boolean
  • When true, enables offline mode for the page.

Returns

Promise<void>