プロジェクト
GitHubで見る React-Truncate-Text
ShinyChang/React-Text-Truncate
概要
Truncate multi-lines text for all browsers base on react.js
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルReact-Truncate-Text 
Install
npm install react-text-truncate
Usage
import TextTruncate from 'react-text-truncate'; // recommend
var TextTruncate = require('react-text-truncate'); // CommonJS or UMD
Markup
<TextTruncate
line={1}
element="span"
truncateText="…"
text="Lorem Ipsum is simply dummy text of the printing and typesetting industry."
textTruncateChild={<a href="#">Read on</a>}
/>
FAQ
Why TextTruncate not shown after display changed?
You must trigger update manually.
Will TextTruncate support IE10 or below?
No! IE 10 and below are dead according to Microsoft post.
関連プロジェクトを探す
読み込み中…