PropsSelection extension

on

Properties

anchorNode Node?
no setter
anchorOffset int
no setter
focusNode Node?
no setter
focusOffset int
no setter
isCollapsed bool
no setter
rangeCount int
no setter
type String
no setter

Methods

addRange(Range range) → void
collapse(Node? node, [int? offset = 0]) → void
collapseToEnd() → void
collapseToStart() → void
containsNode(Node node, [bool? allowPartialContainment = false]) bool
deleteFromDocument() → void
empty() → void
extend(Node node, [int? offset = 0]) → void
getRangeAt(int index) Range
modify([String? alter, String? direction, String? granularity]) → void
mToString() String
removeAllRanges() → void
removeRange(Range range) → void
selectAllChildren(Node node) → void
setBaseAndExtent(Node anchorNode, int anchorOffset, Node focusNode, int focusOffset) → void
setPosition(Node? node, [int? offset = 0]) → void