Skip to content

BlockSuite API Documentation / @blocksuite/affine-model / NoteProps

Type Alias: NoteProps

NoteProps: object & GfxCompatibleProps

Type declaration

background

background: Color

displayMode

displayMode: NoteDisplayMode

edgeless

edgeless: NoteEdgelessProps

hidden

hidden: boolean

Deprecated

use displayMode instead hidden:true -> displayMode:NoteDisplayMode.EdgelessOnly: means the note is visible only in the edgeless mode hidden:false -> displayMode:NoteDisplayMode.DocAndEdgeless: means the note is visible in the doc and edgeless mode

Defined in

packages/affine/model/src/blocks/note/note-model.ts:65