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 (2)

Label Occurrences
Selection API canonical 2
W3C Selection API specification 1

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
definedIn W3C Selection API specification
linked to: Selection API
enablesFeature annotation tools
contextual toolbars for selected text
custom text selection UI
in-page text editors
rich text editing
exposesInterface Range
Selection
handles caret positions
user selection ranges
hasEventIntegrationWith selectionchange event
maintainedBy WHATWG
partOf Web Platform APIs
linked to: Web APIs
previouslyMaintainedBy W3C
relatedTo DOM Range API
Document Object Model
linked to: DOM
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 (3)

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

Open Web Platform hasComponent Selection API
Selection API definedIn W3C Selection API specification
linked to: Selection API