blockly > utils > dom > startTextWidthCache

ฟังก์ชัน utils.dom.startTextWidthCache()

เริ่มแคชความกว้างของข้อความ การเรียกฟังก์ชันนี้ทุกครั้งจะต้องเรียก StopTextWidthCache ด้วย แคชต้องคงอยู่ระหว่างเทรดการดำเนินการ

ลายเซ็น:

export declare function startTextWidthCache(): void;

ส่งกลับ:

void