package ocaml-js-stdlib

  1. Overview
  2. Docs
method add_event_listener : 'a. 'a Event.t -> ('a -> unit) -> bool -> unit
method add_removable_event_listener : 'a. 'a Event.t -> ('a -> unit) -> bool -> 'a Event.callback
method alert : string -> unit
method async : ((unit -> unit) -> unit) option
method atob : string -> string
method blur : unit
method btoa : string -> string
method clear_interval : int -> unit
method clear_timeout : int -> unit
method close : unit
method closed : bool
method confirm : string -> bool
method default_status : string
method document : document
method focus : unit
method frame_element : html_iframe_element option
method frames : element list
method history : history
method inner_height : int
method inner_width : int
method length : int
method local_storage : storage option
method location : Location.t
method move_by : int -> int -> unit
method move_to : int -> int -> unit
method name : string
method navigator : Navigator.t
method open_ : ?url:string -> ?name:string -> ?features:string -> ?replace:bool -> unit -> unit
method opener : window
method outer_height : int
method outer_width : int
method page_x_offset : int
method page_y_offset : int
method parent : window
method post_message : Ojs.t -> string -> unit
method print : unit
method prompt : string -> string -> string option
method remove_event_listener : 'a. 'a Event.t -> 'a Event.callback -> bool -> unit
method request_animation_frame : ((unit -> unit) -> unit) option
method resize_by : int -> int -> unit
method resize_to : int -> int -> unit
method screen : Screen.t
method screen_left : int
method screen_top : int
method screen_x : int
method screen_y : int
method scroll_by : int -> int -> unit
method scroll_to : int -> int -> unit
method session_storage : storage option
method set_default_status : string -> unit
method set_interval : (unit -> unit) -> int -> int
method set_name : string -> unit
method set_opener : window -> unit
method set_status : string -> unit
method set_timeout : (unit -> unit) -> int -> int
method status : string
method stop : unit
method to_js : Ojs.t
method top : window