PropsSelection extension

on

Properties

anchorNode Node?

Available on Selection, provided by the PropsSelection extension

no setter
anchorOffset int

Available on Selection, provided by the PropsSelection extension

no setter
focusNode Node?

Available on Selection, provided by the PropsSelection extension

no setter
focusOffset int

Available on Selection, provided by the PropsSelection extension

no setter
isCollapsed bool

Available on Selection, provided by the PropsSelection extension

no setter
rangeCount int

Available on Selection, provided by the PropsSelection extension

no setter
type String

Available on Selection, provided by the PropsSelection extension

no setter

Methods

addRange(Range range) → void

Available on Selection, provided by the PropsSelection extension

collapse(Node? node, [int? offset = 0]) → void

Available on Selection, provided by the PropsSelection extension

collapseToEnd() → void

Available on Selection, provided by the PropsSelection extension

collapseToStart() → void

Available on Selection, provided by the PropsSelection extension

containsNode(Node node, [bool? allowPartialContainment = false]) bool

Available on Selection, provided by the PropsSelection extension

deleteFromDocument() → void

Available on Selection, provided by the PropsSelection extension

empty() → void

Available on Selection, provided by the PropsSelection extension

extend(Node node, [int? offset = 0]) → void

Available on Selection, provided by the PropsSelection extension

getRangeAt(int index) Range

Available on Selection, provided by the PropsSelection extension

modify([String? alter, String? direction, String? granularity]) → void

Available on Selection, provided by the PropsSelection extension

mToString() String

Available on Selection, provided by the PropsSelection extension

removeAllRanges() → void

Available on Selection, provided by the PropsSelection extension

removeRange(Range range) → void

Available on Selection, provided by the PropsSelection extension

selectAllChildren(Node node) → void

Available on Selection, provided by the PropsSelection extension

setBaseAndExtent(Node anchorNode, int anchorOffset, Node focusNode, int focusOffset) → void

Available on Selection, provided by the PropsSelection extension

setPosition(Node? node, [int? offset = 0]) → void

Available on Selection, provided by the PropsSelection extension