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:310
Properties
isComposing
isComposing:
boolean
=false
Defined in
packages/framework/block-std/src/range/range-binding.ts:296
manager
manager:
RangeManager
Defined in
packages/framework/block-std/src/range/range-binding.ts:310
Accessors
host
get
host():EditorHost
Returns
Defined in
packages/framework/block-std/src/range/range-binding.ts:298
rangeManager
get
rangeManager():RangeManager
Returns
Defined in
packages/framework/block-std/src/range/range-binding.ts:302
selectionManager
get
selectionManager():SelectionManager
Returns
Defined in
packages/framework/block-std/src/range/range-binding.ts:306