package js_of_ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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 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 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.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 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 onbeforeunload : (window Js.t, event Js.t) event_listener Js.prop
method onorientationchange : (window Js.t, event Js.t) event_listener Js.prop
method _URL : _URL Js.t Js.readonly_prop