Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.64 KB

kibana-plugin-public.chromenavlinks.md

File metadata and controls

27 lines (19 loc) · 1.64 KB

Home > kibana-plugin-public > ChromeNavLinks

ChromeNavLinks interface

APIs for manipulating nav links.

Signature:

export interface ChromeNavLinks 

Methods

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.