@deephaven/golden-layout
Version:
A multi-screen javascript Layout manager
25 lines • 851 B
TypeScript
export declare function getHashValue(key: string): string | null;
export declare function getQueryStringParam(param: string): string | null;
export declare function animFrame(fn: (time?: number) => void): number;
export declare function removeFromArray<T>(item: T, array: T[]): void;
export declare function getUniqueId(): string;
/**
* A basic XSS filter. It is ultimately up to the
* implementing developer to make sure their particular
* applications and usecases are save from cross site scripting attacks
*
* @param input
* @param keepTags
*
* @returns filtered input
*/
export declare function filterXss(input: string, keepTags: boolean): string;
/**
* Removes html tags from a string
*
* @param input
*
* @returns input without tags
*/
export declare function stripTags(input: string): string;
//# sourceMappingURL=utils.d.ts.map