Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
blockly > utils > dom > stopTextWidthCache
Funktion utils.dom.stopTextWidthCache()
Feldbreiten nicht mehr im Cache speichern. Es sei denn, das Caching war beim entsprechenden Aufruf von startTextWidthCache bereits aktiviert.
Unterschrift:
export declare function stopTextWidthCache(): void;
Gibt zurück:
voidm
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[[["`stopTextWidthCache()` function stops the caching of field widths, used for performance optimization in Blockly."],["This function has no effect if caching was already disabled before the corresponding `startTextWidthCache` call."],["The function does not return any value (void)."]]],["The `stopTextWidthCache()` function within the `utils.dom` namespace halts the caching of field widths. This action is conditional; it only stops caching if caching was active when `startTextWidthCache` was previously called. The function does not return any value. Its primary action is to toggle off the text width caching mechanism.\n"]]