Skip to content

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

Class: BlockStdScope

Constructors

new BlockStdScope(options)

new BlockStdScope(options): BlockStdScope

Parameters

options: BlockStdOptions

Returns

BlockStdScope

Source

packages/framework/block-std/src/scope/block-std-scope.ts:27

Properties

clipboard

readonly clipboard: Clipboard

Source

packages/framework/block-std/src/scope/block-std-scope.ts:25


collection

readonly collection: DocCollection

Source

packages/framework/block-std/src/scope/block-std-scope.ts:18


command

readonly command: CommandManager

Source

packages/framework/block-std/src/scope/block-std-scope.ts:21


doc

readonly doc: Doc

Source

packages/framework/block-std/src/scope/block-std-scope.ts:17


event

readonly event: UIEventDispatcher

Source

packages/framework/block-std/src/scope/block-std-scope.ts:19


host

readonly host: HTMLElement

Source

packages/framework/block-std/src/scope/block-std-scope.ts:22


selection

readonly selection: SelectionManager

Source

packages/framework/block-std/src/scope/block-std-scope.ts:20


spec

readonly spec: SpecStore

Source

packages/framework/block-std/src/scope/block-std-scope.ts:23


view

readonly view: ViewStore

Source

packages/framework/block-std/src/scope/block-std-scope.ts:24

Methods

mount()

mount(): void

Returns

void

Source

packages/framework/block-std/src/scope/block-std-scope.ts:39


unmount()

unmount(): void

Returns

void

Source

packages/framework/block-std/src/scope/block-std-scope.ts:46