xiaody / react-lines-ellipsis

Simple multiline ellipsis component for React.JS

Home Page:https://xiaody.github.io/react-lines-ellipsis/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

more/less btn

huangxiaohao opened this issue · comments

hi, I want to know how to control more/less button? thank you very much!

你好,请问「查看更多」/「收起」按钮如何设置? 非常感谢!

It's not a built in feature. You can wrap the component in something like <div onClick={this.toggleShowAll} />.

The problem has not been solved for the time being, but thank you very much.
问题暂时还未解决,但是非常感谢。