Skip to content

Interface: PartsProps ​

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? ​

optional onMediaError?: "placeholder" | "throw"

How to handle a media asset (image/audio/video) that fails to load. Same semantics as WriteBaseProps.onMediaError.

Default ​

ts
'throw'