Selection API

E856226

The Selection API is a web standard that lets scripts inspect and manipulate the text or content currently selected by the user in a document.

All labels observed (1)

Label Occurrences
Selection API canonical 2

How this entity was disambiguated

Statements (48)

Predicate Object
instanceOf Web API
Web standard
accessibleVia document.getSelection()
window.getSelection()
canAffect document selection state
user editing experience
compatibleWith JavaScript NERFINISHED
definedIn W3C Selection API specification NERFINISHED
enablesFeature annotation tools
contextual toolbars for selected text
custom text selection UI
in-page text editors
rich text editing
exposesInterface Range NERFINISHED
Selection NERFINISHED
handles caret positions
user selection ranges
hasEventIntegrationWith selectionchange event
maintainedBy WHATWG NERFINISHED
partOf Web Platform APIs NERFINISHED
previouslyMaintainedBy W3C NERFINISHED
relatedTo DOM Range API NERFINISHED
Document Object Model NERFINISHED
securityConsideration subject to same-origin policy for cross-document selections
specifies behavior of selection in scriptable documents
status Living Standard
supportsOperation addRange()
collapse()
containsNode()
extend()
getRangeAt()
removeAllRanges()
removeRange()
selectAllChildren()
supportsProperty anchorNode
anchorOffset
focusNode
focusOffset
isCollapsed
rangeCount
usedFor inspecting user text selection
manipulating user text selection
working with selected document content
usedInContext HTML documents
editable content
web browsers
worksWith DOM elements
text nodes

How these facts were elicited

Referenced by (2)

Full triples — surface form annotated when it differs from this entity's canonical label.