Home > kibana-plugin-core-public > ChromeNavLinks
APIs for manipulating nav links.
Signature:
export interface ChromeNavLinks
Method | Description |
---|---|
enableForcedAppSwitcherNavigation() | Enable forced navigation mode, which will trigger a page refresh when a nav link is clicked and only the hash is updated. |
get(id) | Get the state of a navlink at this point in time. |
getAll() | Get the current state of all navlinks. |
getForceAppSwitcherNavigation$() | An observable of the forced app switcher state. |
getNavLinks$() | Get an observable for a sorted list of navlinks. |
has(id) | Check whether or not a navlink exists. |
showOnly(id) | Remove all navlinks except the one matching the given id. |
update(id, values) | Update the navlink for the given id with the updated attributes. Returns the updated navlink or undefined if it does not exist. |