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

x/xdg/vendor/types/deno.d.ts>Window

Determine XDG Base Directory paths (OS/platform portable)
Go to Latest
class Window
extends EventTarget
import { Window } from "https://deno.land/x/xdg@v10.5.1/vendor/types/deno.d.ts";

Properties

alert: (message?: string) => void
close: () => void
readonly
closed: boolean
confirm: (message?: string) => boolean
Deno: Deno
navigator: Navigator
onload: ((this: Window, ev: Event) => any) | null
onunload: ((this: Window, ev: Event) => any) | null
prompt: (message?: string, defaultValue?: string) => string | null
readonly
self: Window & globalThis
readonly
window: Window & globalThis