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: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

EditorHost

Defined in

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


rangeManager

Get Signature

get rangeManager(): RangeManager

Returns

RangeManager

Defined in

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


selectionManager

Get Signature

get selectionManager(): SelectionManager

Returns

SelectionManager

Defined in

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