This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/dataserializeStateToUrlParam

serializeStateToUrlParam() function

serializeStateToUrlParam() function

Signature

export declare function serializeStateToUrlParam(urlState: ExploreUrlState, compact?: boolean): string;

Import

import { serializeStateToUrlParam } from '@grafana/data';

Parameters

Parameter Type Description
urlState ExploreUrlState
compact boolean

Returns:

string