Cutter.js - 按字數截取HTML內容不會丟失標簽的JS庫
Cutter.js是一個JS庫用于截斷HTML代碼限制其長度,而不會丟失標簽。
特性
- No markup is lost.
- Framework agnostic.
- The content can be written without take care about the full content.
- Not needed to have two different contents. </ul>
- IE >= 6
- Firefox >= 3
- Safari >= 4
- Google Chrome >= 4
- Opera >= 9.5 </ul>
瀏覽器支持
Requirements: None
Demo:http:/ / tcorral. github. com/ Cutter. js/ #examples
License: MIT License
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!