Debian Codegraph @

jupyter-widgets-controls/lib/utils.d.ts

raw
1 export { uuid, resolvePromisesDict } from '@jupyter-widgets/base';
2 /**
3 * Apply MathJax rendering to an element, and optionally set its text.
4 *
5 * If MathJax is not available, make no changes.
6 *
7 * Parameters
8 * ----------
9 * element: Node
10 * text: optional string
11 */
12 export declare function typeset(element: HTMLElement, text?: string): void;
13 /**
14 * escape text to HTML
15 */
16 export declare function escape_html(text: string): string;
17 /**
18 * Creates a wrappable Promise rejection function.
19 */
20 export declare function reject(message: string, log: boolean): (error: Error) => never;
21 //# sourceMappingURL=utils.d.ts.map