Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bgourlie/ellipsize
Truncates and adds ellipses to multiline text that overflows its container.
https://github.com/bgourlie/ellipsize
Last synced: about 1 month ago
JSON representation
Truncates and adds ellipses to multiline text that overflows its container.
- Host: GitHub
- URL: https://github.com/bgourlie/ellipsize
- Owner: bgourlie
- License: other
- Created: 2013-02-21T18:31:42.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-28T17:40:53.000Z (almost 12 years ago)
- Last Synced: 2024-10-29T17:23:33.183Z (3 months ago)
- Language: Dart
- Size: 164 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ellipsize
=========Truncates and adds ellipses to multiline text that overflows its container.
Usage
-----```dart
import 'dart:html';
import 'package:ellipsize/ellipsize.dart';main() {
var container = query("#hasLotsOfText");
new Ellipsize(container);
}
```