Interface: UtilitiesApi

ConvenienceApi.UtilitiesApi

Description

Utility functions made available for scripts

Properties

Properties

sanitize

sanitize: (htmlString: string) => string

Type declaration

▸ (htmlString): string

Description

Sanitizes a string to ensure that it is safe to be displayed in HTML

Parameters
Name Type Description
htmlString string string to sanitize
Returns

string

Sanitized string