BlockSuite API Documentation / @blocksuite/block-std / RangeBinding
Class: RangeBinding
Two-way binding between native range and text selection
Constructors
new RangeBinding()
new RangeBinding(
manager
):RangeBinding
Parameters
manager
Returns
Defined in
packages/framework/block-std/src/range/range-binding.ts:311
Properties
isComposing
isComposing:
boolean
=false
Defined in
packages/framework/block-std/src/range/range-binding.ts:297
manager
manager:
RangeManager
Defined in
packages/framework/block-std/src/range/range-binding.ts:311
Accessors
host
Get Signature
get host():
EditorHost
Returns
Defined in
packages/framework/block-std/src/range/range-binding.ts:299
rangeManager
Get Signature
get rangeManager():
RangeManager
Returns
Defined in
packages/framework/block-std/src/range/range-binding.ts:303
selectionManager
Get Signature
get selectionManager():
SelectionManager
Returns
Defined in
packages/framework/block-std/src/range/range-binding.ts:307