[removed] how can I tell if a is broken over 2 lines?

后端 未结 4 1472
攒了一身酷
攒了一身酷 2021-02-01 18:43

I display a bubble help for some short span elements. The bubbles are centered below that span and look great as long as the span isn\'t broken over two lines.

Looks goo

4条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-01 19:18

    Not quite sure what levels of help you're looking for, but \n is the identifier for linebreaks in JS

提交回复
热议问题