A look at Pretext, a new JS library that solves the problem of calculating multi-line text height without touching the DOM, enabling highly dynamic layouts (Simon Willison/Simon Willison's Weblog)

Simon Willison / Simon Willison's Weblog:
A look at Pretext, a new JS library that solves the problem of calculating multi-line text height without touching the DOM, enabling highly dynamic layouts  —  Pretext solves the problem of calculating the height of a paragraph of line-wrapped text without touching the DOM.



from Techmeme https://ift.tt/wFdtlAI

Post a Comment

0 Comments