Appearance
@shbernal/ts-pptx / index / PartsProps
Interface: PartsProps
Defined in: src/types/pres.ts:65
Options for TsPptx.toParts. A deliberately narrow subset of WriteProps: compression and outputType are zip concerns and do not apply when parts are returned unzipped, so only media-error handling is exposed.
Properties
onMediaError?
optionalonMediaError?:"placeholder"|"throw"
Defined in: src/types/pres.ts:71
How to handle a media asset (image/audio/video) that fails to load. Same semantics as WriteBaseProps.onMediaError.
Default
ts
'throw'