1.0.3 • Published 5 years ago
overflowbox v1.0.3
OverflowBox
Multiline ellipsis with pure js, using binary search for speeding up overflow checking.
No height or line number config is required.
Requirement
- React
- Parent dom node should use over: hidden
Usage
npm install overflowbox
import OverflowBox from 'overflowbox'