ngx-pwa
Version:
Provides functionality around the progressive web app functionality in angular. Most notably the an approach to cache POST, UPDATE and DELETE requests.
13 lines (12 loc) • 392 B
TypeScript
/**
* Contains HelperMethods around handling the purification of html strings.
* Is less strict than angular's own sanitizer.
*/
export declare abstract class PurifyUtilities {
/**
* Sanitizes the given source string.
* @param source - The html value as a string.
* @returns A sanitized string of the given source.
*/
static sanitize(source: string): string;
}