grafana/docs/sources/packages_api/data/locationutil.md
Marcus Andersson a2d741f60f
Docs: run the api-extractor on master to update docs (#23726)
* regenerated packages docs.

* fixed spelling issues.

* fixed spelling issues.
2020-04-21 10:41:50 +02:00

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';