2020-02-26 03:03:53 -06:00
|
|
|
+++
|
|
|
|
# -----------------------------------------------------------------------
|
|
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
|
|
# -----------------------------------------------------------------------
|
2020-04-21 03:41:50 -05:00
|
|
|
title = "textUtil"
|
2020-02-26 03:03:53 -06:00
|
|
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
|
|
|
type = "docs"
|
|
|
|
+++
|
|
|
|
|
2020-04-21 03:41:50 -05:00
|
|
|
## textUtil variable
|
2020-02-26 03:03:53 -06:00
|
|
|
|
2020-04-21 03:41:50 -05:00
|
|
|
### textUtil variable
|
2020-02-26 03:03:53 -06:00
|
|
|
|
|
|
|
<b>Signature</b>
|
|
|
|
|
|
|
|
```typescript
|
2020-04-21 03:41:50 -05:00
|
|
|
textUtil: {
|
|
|
|
escapeHtml: typeof escapeHtml;
|
|
|
|
hasAnsiCodes: typeof hasAnsiCodes;
|
|
|
|
sanitize: typeof sanitize;
|
|
|
|
sanitizeUrl: typeof sanitizeUrl;
|
|
|
|
}
|
2020-02-26 03:03:53 -06:00
|
|
|
```
|
|
|
|
<b>Import</b>
|
|
|
|
|
|
|
|
```typescript
|
2020-04-21 03:41:50 -05:00
|
|
|
import { textUtil } from '@grafana/data';
|
2020-02-26 03:03:53 -06:00
|
|
|
```
|