GitXplorerGitXplorer
l

selection-polyfill

public
48 stars
12 forks
0 issues

Commits

List of commits on branch master.
Verified
bceea295581dfe9716e22dc544776b73e9a19f31

Bump hosted-git-info from 2.5.0 to 2.8.9 (#9)

ddependabot[bot] committed a year ago
Verified
6fe42d05d277c911ec0b65c1e50798ba5d3af7ab

Bump path-parse from 1.0.5 to 1.0.7 (#8)

ddependabot[bot] committed a year ago
Unverified
d536b16fed87d1da546b8fd5bd5348d05677c645

Set version to 0.0.1

committed 7 years ago
Unverified
0a5215ad17657ea01fcaaf6d983b5f2a15af4169

Add new build

committed 7 years ago
Unverified
01e93c9ea886b356c46b0c5e4aaf3b3f5f9ca77e

Fix markdown title

committed 7 years ago
Unverified
777c92c8638728aa3586fe864c60e346d3687a5b

Add yarn, upgrade some packages

committed 7 years ago

README

The README file for this repository.

Selection Polyfill

Text selection polyfill for IE8
Implements the following (so far)

  • window.getSelection()
  • document.createRange()
  • input.selectionStart
  • input.selectionEnd
  • Selection (Class) ----
  • selection.rangeCount
  • selection.anchorNode
  • selection.anchorOffset
  • selection.focusNode
  • selection.focusOffset
  • selection.getRangeAt(index)
  • selection.removeAllRanges()
  • selection.addRange(range)
  • selection.deleteFromDocument()
  • selection.toString()
  • Range (Class) ----
  • range.commonAncestorContainer
  • range.collapsed
  • range.startContainer
  • range.startOffset
  • range.endContainer
  • range.endOffset
  • range.setStart(node, offset)
  • range.setEnd(node, offset)
  • range.selectNodeContents(node)
  • range.collapse(toStart)
  • range.compareBoundaryPoints(how, range)
  • range.getBoundingClientRect()
  • range.cloneRange()
  • range.detach()
  • range.toString()

https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#selections

License

http://luwes.mit-license.org/