Location.Prop Type

• pathname (string) - pathname in window.location - e.g., "/my/full/pathname" • search (string) - search in window.location - e.g., "?myargument=1" • hash (string) - hash in window.location - e.g., "#myhash" • href (string) - href in window.location - e.g., "/my/full/pathname?myargument=1#myhash" • refresh (boolean; default true) - Refresh the page when the location is updated?

Union cases

Union case Description

Hash string

Full Usage: Hash string

Parameters:
    Item : string

Item : string

Href string

Full Usage: Href string

Parameters:
    Item : string

Item : string

Pathname string

Full Usage: Pathname string

Parameters:
    Item : string

Item : string

Refresh bool

Full Usage: Refresh bool

Parameters:
    Item : bool

Item : bool

Search string

Full Usage: Search string

Parameters:
    Item : string

Item : string

Static members

Static member Description

Prop.toDynamicMemberDef prop

Full Usage: Prop.toDynamicMemberDef prop

Parameters:
Returns: string * obj
prop : Prop
Returns: string * obj