getPathHref
Converts the specified navigation target into a valid
href
value.
getPathHref(target?: NavigationTarget): string | undefined
Notes
- This method is also used by the
UIButton
renderer to set thehref
attribute for buttons that are rendered as anchor elements.
Related
- class WebHashNavigationControllerA class that manages the application navigation path using the DOM location ‘hash’ value.