Dart
dart:html
Selection
collapse method
collapse
Dart
dart:html
Selection
collapse method
Selection class
Properties
anchorNode
anchorOffset
baseNode
baseOffset
extentNode
extentOffset
focusNode
focusOffset
hashCode
isCollapsed
rangeCount
runtimeType
type
Methods
addRange
collapse
collapseToEnd
collapseToStart
containsNode
deleteFromDocument
empty
extend
getRangeAt
modify
noSuchMethod
removeAllRanges
removeRange
selectAllChildren
setBaseAndExtent
setPosition
toString
Operators
operator ==
description
collapse
method
Null safety
void
collapse
(
Node
?
node
,
[
int
?
offset
]
)
Implementation
void collapse(Node? node, [int? offset]) native;
Cookies management controls