How to measure the width of a string using Fable or Feliz in an Elmish app?

85 Views Asked by At

In an Elmish app (using Fable and Feliz), I'm trying to create a container (a div) with the exact width as an arbitrary string. Is there a way to measure the width of a string ahead of time (before displaying it)?

0

There are 0 best solutions below

Related Questions in F#

Related Questions in FABLE-F#