Class type Dom_html.​window

class type window = object..end

Specification of window objects Inherits


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 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.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 screen : screen Js.t Js.readonly_prop
method innerWidth : int Js.optdef Js.readonly_prop
method innerHeight : int Js.optdef Js.readonly_prop
method outerWidth : int Js.optdef Js.readonly_prop
method outerHeight : int Js.optdef Js.readonly_prop
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 onorientationchange : 
(window Js.t, event Js.t) event_listener
Js.prop
method onpopstate : 
(window Js.t, popStateEvent Js.t)
event_listener Js.prop
method onhashchange : 
(window Js.t, hashChangeEvent Js.t)
event_listener Js.prop
method ononline : 
(window Js.t, event Js.t) event_listener
Js.writeonly_prop
method onoffline : 
(window Js.t, event Js.t) event_listener
Js.writeonly_prop