range_fix 0.1.0 copy "range_fix: ^0.1.0" to clipboard
range_fix: ^0.1.0 copied to clipboard

outdatedDart 1 only

A workaround for the Range.getClientRects bug in Chrome.

range_fix #

A workaround for the Range.getClientRects bug in Chrome. A dart port of rangefix.

Usage #

A simple usage example:

final range = window.getSelection().getRangeAt(0);

final rects = RangeFix.getClientRects(range);
for (final rect in rects) {
  // Do whatever you want.
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
0
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

A workaround for the Range.getClientRects bug in Chrome.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on range_fix