Skip to content

BlockSuite API Documentation / @blocksuite/blocks / PeekableController

Class: PeekableController<T>

Type Parameters

T extends PeekableClass

Constructors

new PeekableController()

new PeekableController<T>(target, enable?): PeekableController<T>

Parameters

target: T

enable?

Returns

PeekableController<T>

Defined in

packages/affine/components/dist/peek/controller.d.ts:9

Properties

peek()

peek: (template?) => Promise<void>

Parameters

template?: TemplateResult

Returns

Promise<void>

Defined in

packages/affine/components/dist/peek/controller.d.ts:7

Accessors

peekable

get peekable(): boolean

Returns

boolean

Defined in

packages/affine/components/dist/peek/controller.d.ts:8