Class type Dom_html.window


class type window = object .. end
Specification of window objects

method document : document 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 getSelection : selection Js.t Js.meth
method close : unit Js.meth
method stop : unit Js.meth
method focus : unit Js.meth
method blur : unit Js.meth
method scroll : int -> int -> unit Js.meth
method sessionStorage : storage Js.t Js.readonly_prop
method localStorage : storage Js.t 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 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.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 onload : (window Js.t, event Js.t) event_listener Js.prop
method onbeforeunload : (window Js.t, event Js.t) event_listener Js.prop
method onblur : (window Js.t, event Js.t) event_listener Js.prop
method onfocus : (window Js.t, event Js.t) event_listener Js.prop
method onresize : (window Js.t, event Js.t) event_listener Js.prop
method onpopstate : (window Js.t, popStateEvent Js.t) event_listener
Js.prop