BlockSuite API Documentation / @blocksuite/blocks / PeekableController
Class: PeekableController
Constructors
new PeekableController()
new PeekableController(
target
):PeekableController
Parameters
• target: LitElement
& object
Returns
Source
packages/blocks/src/_common/components/peekable.ts:12
Properties
target
private
target:LitElement
&object
Type declaration
std
std:
BlockStdScope
Source
packages/blocks/src/_common/components/peekable.ts:13
Accessors
peekable
get
peekable():boolean
Returns
boolean
Source
packages/blocks/src/_common/components/peekable.ts:22
Methods
getRootService()
private
getRootService():EdgelessRootService
|PageRootService
Returns
EdgelessRootService
| PageRootService
Source
packages/blocks/src/_common/components/peekable.ts:18
peek()
peek(
template
?):Promise
<void
>
Parameters
• template?: TemplateResult
Returns
Promise
<void
>
Source
packages/blocks/src/_common/components/peekable.ts:26