SetContentOptions
@blockslides/core / SetContentOptions
Interface: SetContentOptions
Defined in: blockslides/packages/core/src/commands/setContent.ts:6
Properties
parseOptions?
optionalparseOptions:ParseOptions
Defined in: blockslides/packages/core/src/commands/setContent.ts:11
Options for parsing the content.
Default
{}
errorOnInvalidContent?
optionalerrorOnInvalidContent:boolean
Defined in: blockslides/packages/core/src/commands/setContent.ts:16
Whether to throw an error if the content is invalid.
emitUpdate?
optionalemitUpdate:boolean
Defined in: blockslides/packages/core/src/commands/setContent.ts:22
Whether to emit an update event.
Default
true