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: RangeManager
Returns
Defined in
packages/framework/block-std/src/range/range-binding.ts:319
Properties
isComposing
isComposing:
boolean
=false
Defined in
packages/framework/block-std/src/range/range-binding.ts:305
manager
manager:
RangeManager
Defined in
packages/framework/block-std/src/range/range-binding.ts:319
Accessors
host
get
host():EditorHost
Returns
Defined in
packages/framework/block-std/src/range/range-binding.ts:307
rangeManager
get
rangeManager():RangeManager
Returns
Defined in
packages/framework/block-std/src/range/range-binding.ts:311
selectionManager
get
selectionManager():SelectionManager
Returns
Defined in
packages/framework/block-std/src/range/range-binding.ts:315