BlockSuite API Documentation / @blocksuite/blocks / addNote
Function: addNote()
addNote(
std
,point
,options
,width
,height
):void
Parameters
• std: BlockStdScope
• point: Point
• options: NoteOptions
• width: number
= DEFAULT_NOTE_WIDTH
• height: number
= DEFAULT_NOTE_HEIGHT
Returns
void
Defined in
packages/blocks/src/root-block/edgeless/utils/common.ts:290