Skip to content

BlockSuite API Documentation / @blocksuite/block-std / SelectionConstructor

Interface: SelectionConstructor

Constructors

new SelectionConstructor()

new SelectionConstructor(...args): BaseSelection

Parameters

• ...args: any[]

Returns

BaseSelection

Defined in

packages/framework/block-std/src/selection/manager.ts:15

Properties

type

type: string

Defined in

packages/framework/block-std/src/selection/manager.ts:13

Methods

fromJSON()

fromJSON(json): BaseSelection

Parameters

json: Record<string, unknown>

Returns

BaseSelection

Defined in

packages/framework/block-std/src/selection/manager.ts:16