mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
935 B
935 B
+++
-----------------------------------------------------------------------
Do not edit this file. It is automatically generated by API Documenter.
-----------------------------------------------------------------------
title = "locationUtil" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" draft = true +++
locationUtil variable
locationUtil variable
Signature
locationUtil: {
initialize: ({ getConfig, buildParamsFromVariables, getTimeRangeForUrl }: LocationUtilDependencies) => void;
stripBaseFromUrl: (url: string) => string;
assureBaseUrl: (url: string) => string;
getTimeRangeUrlParams: () => string | null;
getVariablesUrlParams: (scopedVars?: ScopedVars | undefined) => string | null;
processUrl: (url: string) => string;
}
Import
import { locationUtil } from '@grafana/data';