Update and track the current window.location object through the window.history state. Use in conjunction with the `dash_core_components.Link` component to make apps with multiple pages.
Function or value | Description |
Full Usage:
Location.location id attrs
Parameters:
string
attrs : Attr list
Returns: DashComponent
|
![]() ![]() ![]() ![]() ![]() ![]() Update and track the current window.location object through the window.history state. Use in conjunction with the `dash_core_components.Link` component to make apps with multiple pages. Properties: • id (string) - The ID of this component, used to identify dash components in callbacks. The ID needs to be unique across all of the components in an app. • 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?
|