1. Selection API

    API for accessing selected content of a document, including the `window.getSelection()` method, as well as the `selectstart` & `selectionchange` events on `document`.

  2. document api: `selectionchange` event

  3. editcontext api: selectionend

  4. editcontext api: selectionstart

  5. htmlinputelement api: `selectionchange` event

  6. htmlinputelement api: selectiondirection

  7. htmlinputelement api: selectionend

  8. htmlinputelement api: selectionstart

  9. htmltextareaelement api: `selectionchange` event

  10. htmltextareaelement api: selectiondirection

  11. htmltextareaelement api: selectionend

  12. htmltextareaelement api: selectionstart

  13. selection api

  14. selection api: addrange

  15. selection api: addrange: can add multiple ranges to the selection

  16. selection api: anchornode

  17. selection api: anchoroffset

  18. selection api: collapse

  19. selection api: collapsetoend

  20. selection api: collapsetostart

  21. selection api: collapse: accepts `node` parameter in any tree/shadow tree

  22. selection api: collapse: `node` parameter is nullable

  23. selection api: collapse: `offset` parameter is optional

  24. selection api: containsnode

  25. selection api: containsnode: `allowpartialcontainment` parameter is optional

  26. selection api: deletefromdocument

  27. selection api: direction

  28. selection api: `empty()` as alias of `removeallranges()`

  29. selection api: extend

  30. selection api: extend: accepts `node` parameter in any tree/shadow tree

  31. selection api: extend: `offset` parameter is optional

  32. selection api: focusnode

  33. selection api: focusoffset

  34. selection api: getcomposedranges

  35. selection api: getcomposedranges: returned array can contain multiple ranges

  36. selection api: getrangeat

  37. selection api: iscollapsed

  38. selection api: modify

  39. selection api: rangecount

  40. selection api: removeallranges

  41. selection api: removerange

  42. selection api: selectallchildren

  43. selection api: setbaseandextent

  44. selection api: setbaseandextent: accepts `anchornode` and `focusnode` arguments in different shadow trees

  45. selection api: `setposition()` as alias of `collapse()`

  46. selection api: tostring

  47. selection api: type

  48. textupdateevent api: selectionend

  49. textupdateevent api: selectionstart

  50. window api: getselection