ocaml-js-stdlib

Binding OCaml to JavaScript standard library
Library ocaml-js-stdlib
Module Js_dom . Location
type t
val get_hash : unit -> string
val set_hash : string -> unit
val host : t -> string
val set_host : t -> string -> unit
val hostname : t -> string
val set_hostname : t -> string -> unit
val href : unit -> string
val set_href : string -> unit
val pathname : t -> string
val set_pathname : t -> string -> unit
val port : t -> string
val set_port : t -> string -> unit
val protocol : t -> string
val set_protocol : t -> string -> unit
val assign : t -> string -> unit
val reload : t -> ?force:bool -> unit -> unit
val replace : t -> string -> unit