libwasm ~master (2024-01-10T15:05:21Z)
Dub
Repo
Selection.collapse
libwasm
bindings
Selection
Selection
Undocumented in source. Be warned that the author may not have intended to support it.
void
collapse
(Optional!(T0) node, uint offset)
void
collapse
(Optional!(T0) node)
struct
Selection
nothrow
void
collapse
(
T0
)
(
scope
auto
ref
Optional
!(
T0
)
node
)
if
(
isTOrPointer
!(
T0
,
Node
)
)
Meta
Source
See Implementation
libwasm
bindings
Selection
Selection
constructors
this
functions
DOMString
GetRangesForInterval
QueryInterface
addRange
addSelectionListener
anchorNode
anchorOffset
caretBidiLevel
collapse
collapseToEnd
collapseToStart
containsNode
deleteFromDocument
empty
extend
focusNode
focusOffset
getRangeAt
interlinePosition
isCollapsed
modify
rangeCount
removeAllRanges
removeRange
removeSelectionListener
resetColors
scrollIntoView
selectAllChildren
selectionType
setBaseAndExtent
setColors
setPosition
toStringWithFormat
type
variables
handle