Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

LocationSrv interface

If you need to automatically navigate the user to a new place in the application this should be done via the LocationSrv and it will make sure to update the application state accordingly.

Signature

typescript
export interface LocationSrv 

Import

typescript
import { LocationSrv } from '@grafana/runtime';

Methods

MethodDescription
update(options)

update method

Signature

typescript
update(options: LocationUpdate): void;

Parameters

ParameterTypeDescription
optionsLocationUpdate

Returns:

void