package ocaml-vdom

  1. Overview
  2. Docs

Module Js_browser.LocationSource

Sourcetype t
Sourceval t_of_js : Ojs.t -> t
Sourceval t_to_js : t -> Ojs.t
Sourceval get_hash : unit -> string
Sourceval set_hash : string -> unit
Sourceval host : t -> string
Sourceval set_host : t -> string -> unit
Sourceval hostname : t -> string
Sourceval set_hostname : t -> string -> unit
Sourceval href : unit -> string
Sourceval set_href : string -> unit
Sourceval pathname : t -> string
Sourceval set_pathname : t -> string -> unit
Sourceval port : t -> string
Sourceval set_port : t -> string -> unit
Sourceval protocol : t -> string
Sourceval set_protocol : t -> string -> unit
Sourceval assign : t -> string -> unit
Sourceval reload : t -> ?force:bool -> unit -> unit
Sourceval replace : t -> string -> unit