use-clamp-text
react hook to clamp multiline text to a given height in a responsive way (in < 2.5kb)
react hook to clamp multiline text to a given height in a responsive way (in < 2.5kb)
Clamp JS main (ie. cuts off) an HTML element's content by adding ellipsis to it if the content inside is too long.
Test if an input value is a supported ndarray index mode.
Restrict an index to the interval [0,max].
Return an index given an index mode.
Restrict a double-precision floating-point number to a specified range.
List of ndarray index modes.
Collection of javascript utility modules
Clamp JS main (ie. cuts off) an HTML element's content by adding ellipsis to it if the content inside is too long.
Some little math helper functions
Responsive clamping component with Read more/Read less buttons built for React.
out of line clamp
TypeScript fork of clamp.js - Clamps an HTML element by adding ellipsis to it if the content inside is too long.
react hook to clamp multiline text to a given height in a responsive way (in < 2.5kb)
Generate css clamps.
Clamp JS main (ie. cuts off) an HTML element's content by adding ellipsis to it if the content inside is too long.