Appearance
Interface: TransitionProps ​
Slide-show transition applied between slides (p:transition). Assign to Slide.transition. Setting durationMs emits PowerPoint's mc:AlternateContent form (a p14 Choice carrying p14:dur plus a base mc:Fallback); otherwise only the coarse speed bucket is written.
Example ​
ts
slide.transition = { type: 'push', durationMs: 1250, variant: { dir: 'd' } }Properties ​
advanceAfterMs? ​
optionaladvanceAfterMs?:number
Auto-advance after this many milliseconds (advTm).
advanceOnClick? ​
optionaladvanceOnClick?:boolean
Advance on mouse click (advClick).
Default ​
ts
truedurationMs? ​
optionaldurationMs?:number
Exact duration in milliseconds (p14:dur); emits the mc:AlternateContent form.
sound? ​
optionalsound?:TransitionSoundProps
Sound played with the transition (p:sndAc): a start sound (embedded WAV) or the stop-previous form.
speed? ​
optionalspeed?:"slow"|"med"|"fast"
Coarse speed bucket (spd); derived from durationMs when omitted, else defaults to fast.
type ​
type:
"split"|"push"|"zoom"|"circle"|"cut"|"wheel"|"diamond"|"plus"|"blinds"|"checker"|"dissolve"|"comb"|"cover"|"fade"|"newsflash"|"pull"|"random"|"randomBar"|"strips"|"wedge"|"wipe"
Transition type (the <p:TYPE/> element), e.g. fade, push, wipe, cut, dissolve.
variant? ​
optionalvariant?:Record<string,string>
Type-specific variant attributes, e.g. { dir: 'd' } for push, { spokes: '2' } for wheel.