Skip to content

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

RangeBinding

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

EditorHost

Defined in

packages/framework/block-std/src/range/range-binding.ts:307


rangeManager

get rangeManager(): RangeManager

Returns

RangeManager

Defined in

packages/framework/block-std/src/range/range-binding.ts:311


selectionManager

get selectionManager(): SelectionManager

Returns

SelectionManager

Defined in

packages/framework/block-std/src/range/range-binding.ts:315