Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

window

Returns the owner window for the specified node. If node is a node, returns the owner document’s default view; if node is a document, returns its default view; otherwise returns the node.

function window(DOMNode: Window | Document | Element): Window;
§
window(DOMNode: Window | Document | Element): Window
[src]

§Parameters

§
DOMNode: Window | Document | Element
[src]

A DOM element

§Return Type

§
Window
[src]