@mocanvas/mocanvas · interface

TextHtmlMeasurement

interface TextHtmlMeasurement extends TextMeasurement

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Properties · 1

scrollWidth: number

The DOM's scrollWidth: the width below which the content overflows rather than wraps. Equal to w for text that wraps, larger only when an unbreakable run is wider than the box. Equals w unless measureScrollWidth was set.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.