Expand description
W3C CSS text-overflow: ellipsis 純粋計算モジュール
W3C CSS Basic User Interface Module Level 3 §11.1 (text-overflow) に準拠した 文字列幅測定と省略記号(…)付加・LTR/RTL 切り詰め純粋ロジックを提供する。
Constants§
- DEFAULT_
ELLIPSIS - 既定の省略記号(HORIZONTAL ELLIPSIS: U+2026)
Functions§
- truncate_
text_ ellipsis - テキストを与えられた利用可能幅に収まるよう、ellipsis(…)を付加して切り詰める(純粋関数)。