@hugoalh/string-overflow
A module to truncate the string with the specify length; Safe with the emojis, URLs, and words.
A module to truncate the string with the specify length; Safe with the emojis, URLs, and words.
Simple and lightweight scroll lock for react and vanilla js.
Enables body scroll locking (for iOS Mobile and Tablet, Android, desktop Safari/Chrome/Firefox) without breaking scrolling of a target element (eg. modal/lightbox/flyouts/nav-menus)
Implements mobile-like drag
styled-scrollbar is a React library to make vertical and horizontal scrollbars look 'same' in different browsers.
A React component for fading out the bottom of a scrolling element.
This package contains selection overflow helpers and nodes for Lexical.
A set of methods to lock scrolling within an element or an entire page on mobile devices, tablets and desktops.
``` // npm i sa-text-toggle-vue3 <template> <div> <saTextToggle :text="'世界很美好感谢有你世界很美好感谢有你世界很美好感谢有你世界很美好感谢有你世界很美好感谢有你世界很美好感谢有你世界很美好感谢有你世界很美好感谢有你'" :width="200" :maxLines="2"> <template v-slot:default="{ clickToggle, expanded }"> <a @cl
A React component for fading out the bottom of a scrolling element.
Implements mobile-like drag
Detect element text overflowed.
This package contains selection overflow helpers and nodes for Lexical.
Colocated overlay drop menu that pops out of scroll ancestors and traps focus
This package contains selection overflow helpers and nodes for Lexical.
Adds support for the 'safe' and 'unsafe' overflow alignment keywords in Tailwind
Native 64-bit integers with overflow protection.
This package contains selection overflow helpers and nodes for Lexical.
Framework agnostic text fitting web component that can be used to ensure that a number of lines of text is rendered on screen by reducing or increasing font size and also help users detect and handle text with overflows. This also is a very functional lin
根据限宽截断文本并显示省略号,进而添加Tooltip/Popover悬浮效果以显示完整文本。旨在解决根据字符长度截断时不能很好的兼容中英文的问题。