blockly > utils > dom > startTextWidthCache
utils.dom.startTextWidthCache() function
Start caching text widths. Every call to this function MUST also call stopTextWidthCache. Caches must not survive between execution threads.
Signature:
export declare function startTextWidthCache(): void;
Returns:
void