The url to navigate back to by default when there is no history. If not set, the button will not be visible when there is no history.
Saves the current "tabindex" and sets it to "-1". When turned of again, the saved "tabindex" is restored.
If set, the button leads always back to the "defaultHref" even if the history points somewhere else.
If set and there is no history, instead of going to "defaultHref" the page will simply shorten the url path by one path slice (slash) as long as minimum "levelUp" path slices remain as path. A value of "0" means root level therefore it will always level up until it reaches root level.
The id of a hylo-nav or ion-nav component which should be used to go back. If no navId is given, it looks for the first hylo-nav and than the first ion-nav component on the page. If no component is found, it uses the hylo-router/ion-router or (if not available) window.history.back().
Sets the style to show no outline on focus.
Fires when the component gains or looses focus through the "tab" key. The component also toggles the class "hylo-has-focus".
The emitted boolean value indicates whether the component gained or lost the focus.
Fires when the component is or looses active through a key action. The component also toggles the class "hylo-has-keyactive".
The emitted boolean value indicates whether the component gained or lost the active state.
Fires when the component gains or looses "mouseover". The component also toggles the class "hylo-has-mouseover". Does not fire when the "mouseover" was gained through a touch event.
The emitted boolean value indicates whether the component gained or lost "mouseover".
The component got loaded.
The component got updated.
Generated using TypeDoc
Contains the functionality of a back button. Place the content of the button inside the component.
If a navId is given, it uses the hylo-nav/ion-nav components pop() function to go back. If no navId is given, it looks for the first hylo-nav and than the first ion-nav component on the page. If the hylo-nav/ion-nav component can not go back, it looks for a hylo-router and than for an ion-router and uses it instead. If no hylo-router or ion-router is present, it tries window.history.back().
If none if the above works out, it sets itself to display: none when defaultHref is not set.
You can force the state styles of the component by applying the classes "hylo-focus", "hylo-hover", "hylo-active", "hylo-disabled" respectively.