Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lapcat
· 3y ago · 0 comments
The author's use case can be handled with CSS instead of JavaScript:
overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
Comments
[–]
proto_lambda
3y ago
That's exactly how it
is
handled, I don't know where they got the idea that it's done by JS.