Class type Dom_html.window

Specification of window objects

inherit eventTarget
method document : document Js.t Js.readonly_prop
method applicationCache : applicationCache Js.t Js.readonly_prop
method name : Js.js_string Js.t Js.prop
method location : location Js.t Js.readonly_prop
method history : history Js.t Js.readonly_prop
method undoManager : undoManager Js.t Js.readonly_prop
method navigator : navigator Js.t Js.readonly_prop
method getSelection : selection Js.t Js.meth
method close : unit Js.meth
method closed : bool Js.t Js.readonly_prop
method stop : unit Js.meth
method focus : unit Js.meth
method blur : unit Js.meth
method scroll : int -> int -> unit Js.meth
method scrollBy : int -> int -> unit Js.meth
method sessionStorage : storage Js.t Js.optdef Js.readonly_prop
method localStorage : storage Js.t Js.optdef Js.readonly_prop
method top : window Js.t Js.readonly_prop
method parent : window Js.t Js.readonly_prop
method frameElement : element Js.t Js.opt Js.readonly_prop
method open_ : Js.js_string Js.t -> Js.js_string Js.t -> Js.js_string Js.t Js.opt -> window Js.t Js.opt Js.meth
method alert : Js.js_string Js.t -> unit Js.meth
method confirm : Js.js_string Js.t -> bool Js.t Js.meth
method prompt : Js.js_string Js.t -> Js.js_string Js.t -> Js.js_string Js.t Js.opt Js.meth
method print : unit Js.meth
method setInterval : (unit -> unit) Js.callback -> float -> interval_id Js.meth
method clearInterval : interval_id -> unit Js.meth
method setTimeout : (unit -> unit) Js.callback -> float -> timeout_id Js.meth
method clearTimeout : timeout_id -> unit Js.meth
method requestAnimationFrame : (float -> unit) Js.callback -> animation_frame_request_id Js.meth
method cancelAnimationFrame : animation_frame_request_id -> unit Js.meth
method screen : screen Js.t Js.readonly_prop
method innerWidth : int Js.readonly_prop
method innerHeight : int Js.readonly_prop
method outerWidth : int Js.readonly_prop
method outerHeight : int Js.readonly_prop
method getComputedStyle : element Js.t -> cssStyleDeclaration Js.t Js.meth
method getComputedStyle_pseudoElt : element Js.t -> Js.js_string Js.t -> cssStyleDeclaration Js.t Js.meth
method atob : Js.js_string Js.t -> Js.js_string Js.t Js.meth
method btoa : Js.js_string Js.t -> Js.js_string Js.t Js.meth
method onload : (window Js.tevent Js.t) event_listener Js.prop
method onunload : (window Js.tevent Js.t) event_listener Js.prop
method onbeforeunload : (window Js.tevent Js.t) event_listener Js.prop
method onblur : (window Js.tfocusEvent Js.t) event_listener Js.prop
method onfocus : (window Js.tfocusEvent Js.t) event_listener Js.prop
method onresize : (window Js.tevent Js.t) event_listener Js.prop
method onorientationchange : (window Js.tevent Js.t) event_listener Js.prop
method onpopstate : (window Js.tpopStateEvent Js.t) event_listener Js.prop
method onhashchange : (window Js.thashChangeEvent Js.t) event_listener Js.prop
method ononline : (window Js.tevent Js.t) event_listener Js.writeonly_prop
method onoffline : (window Js.tevent Js.t) event_listener Js.writeonly_prop
method _URL : _URL Js.t Js.readonly_prop
method devicePixelRatio : float Js.readonly_prop