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

API Reference@grafana/datatextUtil

textUtil variable

textUtil variable

Signature

textUtil: {
    escapeHtml: typeof escapeHtml;
    hasAnsiCodes: typeof hasAnsiCodes;
    sanitize: typeof sanitize;
    sanitizeUrl: typeof sanitizeUrl;
}

Import

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