Based on Polyfill: Balance Text

balanceText.hype.zip (45,2 KB)

2 Likes

Thanks for putting this together! Here’s some interesting history and implementation details:

Nice, seems to be more robust. I will look into it!

Since the js for this nice function loads before Hype's runtime, I don't see any FOUC (so seems powerful enough for most uses!)