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

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

Properties

clipboard

readonly clipboard: Clipboard

Source

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


collection

readonly collection: DocCollection

Source

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


command

readonly command: CommandManager

Source

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


doc

readonly doc: Doc

Source

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


event

readonly event: UIEventDispatcher

Source

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


host

readonly host: HTMLElement

Source

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


selection

readonly selection: SelectionManager

Source

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


spec

readonly spec: SpecStore

Source

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


view

readonly view: ViewStore

Source

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

Methods

mount()

mount(): void

Returns

void

Source

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


unmount()

unmount(): void

Returns

void

Source

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