Module Window.Impl

Parameters

Signature

type t_window = T.t;
let console: t_window => console;
let crypto: t_window => crypto;
let document: t_window => Dom.document;
let frameElement: t_window => option(Dom.element);
let frames: t_window => frameList;
let fullScreen: t_window => bool;
let history: t_window => Dom.history;
let innerWidth: t_window => int;
let innerHeight: t_window => int;
let isSecureContext: t_window => bool;
let length: t_window => int;
let location: t_window => Dom.location;
let setLocation: t_window => string => unit;
let locationbar: t_window => locationbar;
let menubar: t_window => menubar;
let name: t_window => string;
let setName: t_window => string => unit;
let navigator: t_window => navigator;
let opener: t_window => option(Dom.window);
let outerWidth: t_window => int;
let outerHeight: t_window => int;
let pageXOffset: t_window => float;
let pageYOffset: t_window => float;
let parent: t_window => Dom.window;
let performance: t_window => Webapi__Performance.t;
let personalbar: t_window => personalbar;
let screen: t_window => screen;
let screenX: t_window => int;
let screenY: t_window => int;
let scrollbars: t_window => scrollbars;
let scrollX: t_window => float;
let scrollY: t_window => float;
let self: t_window => Dom.window;
let speechSynthesis: t_window => speechSynthesis;
let status: t_window => string;
let setStatus: t_window => string => unit;
let statusbar: t_window => statusbar;
let toolbar: t_window => toolbar;
let top: t_window => Dom.window;
let window: t_window => t_window;
let alert: string => t_window => unit;
let blur: t_window => unit;
let cancelIdleCallback: idleCallbackId => t_window => unit;
let close: t_window => unit;
let confirm: string => t_window => bool;
let focus: t_window => unit;
let getComputedStyle: Dom.element => t_window => Dom.cssStyleDeclaration;
let getComputedStyleWithPseudoElement: Dom.element => string => t_window => Dom.cssStyleDeclaration;
let getSelection: t_window => Dom.selection;
let matchMedia: string => t_window => mediaQueryList;
let moveBy: int => int => t_window => unit;
let moveTo: int => int => t_window => unit;
let open_: url:string => name:string => ?⁠features:string => t_window => option(Dom.window);
let postMessage: 'a => string => t_window => unit;
let postMessageWithTransfers: 'a => string => array(transferable) => t_window => unit;
let print: t_window => unit;
let prompt: string => t_window => string;
let promptWithDefault: string => string => t_window => string;
let requestIdleCallback: (idleDeadline => unit) => t_window => idleCallbackId;
let requestIdleCallbackWithOptions: (idleDeadline => unit) => Js.t({. timeout: int, }) => t_window => idleCallbackId;
let resizeBy: int => int => t_window => unit;
let resizeTo: int => int => t_window => unit;
let scroll: float => float => t_window => unit;
let scrollBy: float => float => t_window => unit;
let scrollTo: float => float => t_window => unit;
let stop: t_window => unit;
let addPopStateEventListener: (Dom.popStateEvent => unit) => t_window => unit;
let removePopStateEventListener: (Dom.popStateEvent => unit) => t_window => unit;
let setOnLoad: t_window => (unit => unit) => unit;