BlockSuite API Documentation / @blocksuite/blocks / PeekableOptions
Type Alias: PeekableOptions<T> 
PeekableOptions<
T>:object
Type Parameters 
• T extends PeekableClass
Type declaration 
action? 
optionalaction:PeekableAction|PeekableAction[] |false
Action to bind to the peekable element. default to ['double-click', 'shift-click'] false means do not bind any action.
enableOn()? 
optionalenableOn: (block) =>boolean
It will check the block is enable to peek or not
Parameters 
• block: T
Returns 
boolean
selector? 
optionalselector:string
Selector inside of the peekable element to bind the action
Defined in 
packages/affine/components/dist/peek/type.d.ts:37