You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README_EN.md
+34-14Lines changed: 34 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,7 @@
5
5
6
6
<h1align="center">Smart Ticker</h1>
7
7
8
-
<palign="center">
9
-
High-performance smart text ticker component based on Levenshtein diff algorithm. Supports multiple charsets, works with React/Vue. <ahref="https://tombcato.github.io/smart-ticker/">Live Demo ></a>
10
-
</p>
8
+
High-performance smart text ticker component based on Levenshtein diff algorithm. Supports CJK, numbers, letters, emojis, and mixed charsets. <ahref="https://tombcato.github.io/smart-ticker/">Live Demo ></a>
-**Smooth Interruption** - Seamlessly transitions to new targets if value changes during animation.
32
-
-**Custom Easing** - Supports `linear`, `easeInOut`, `bounce` and more.
33
-
-**Adjustable Char Width** - Control character spacing via `charWidth` prop.
34
-
-**Multi-Charset** - Supports numbers, letters, symbols, and mixed usage.
35
-
-**Dual Framework Support** - Provides both React and Vue components.
36
-
-**High Performance** - Optimized with `requestAnimationFrame` and `React.memo`.
29
+
|||
30
+
| :--- | :--- |
31
+
|**🌏 Multi-Charset Support**<br>Supports CJK, Numbers, Emojis, and mixed text rolling. Auto-adjusts spacing based on Unicode width. |**🧠 Smart Diff Animation**<br>Uses Levenshtein algorithm to find the shortest change path; identical characters remain static. |
32
+
|**⚡ Smooth Interruption**<br>Seamlessly transitions to new targets if the value changes dynamically during animation. |**📈 Rich Motion**<br>Built-in `linear`, `bounce`, `easeInOut` easings. Supports `charWidth` for fine-tuning. |
33
+
|**🦄 Dual Framework**<br>Provides both React (Hooks) and Vue 3 (Composition) components with a unified API. |**🚀 High Performance**<br>Powered by `RAF`, removing DOM overhead, optimized for high-frequency data streams. |
37
34
38
35
## 📦 Installation
39
36
@@ -155,8 +152,31 @@ The component uses the system monospace stack by default. To use a custom font (
0 commit comments