Skip to content

Interface: BuildEffect ​

One preset effect in a slide's p:timing, as Slide.animations reads it: a time node with a presetClass, the shape it targets, and how and when it starts.

Properties ​

delayMs ​

delayMs: number | null

The delay of the step the effect sits in, from the click that starts it (p:cond/@delay on the effect's parent time node), in milliseconds, or null when it is not a number.


durationMs ​

durationMs: number | null

The longest @dur among the effect's behaviours, in milliseconds, or null when none states one.


presetClass ​

presetClass: string

@presetClass: entr, emph, exit, path, verb or mediacall.


presetId ​

presetId: number | null

@presetID, or null when it states none.


presetSubtype ​

presetSubtype: number | null

@presetSubtype, or null when it states none.


sequence ​

sequence: BuildSequence

The sequence the effect plays in: main for the slide's click-through build (nodeType="mainSeq"), interactive for one a click on a shape triggers (interactiveSeq), other for anywhere else.


shapeId ​

shapeId: number | null

The target shape's p:cNvPr id (the first p:spTgt/@spid under the effect), or null.


textRange ​

textRange: boolean

Whether the effect targets a range of the shape's text (p:spTgt/p:txEl) rather than the whole shape.


trigger ​

trigger: "onClick" | "withPrevious" | "afterPrevious" | null

How the effect starts (@nodeType): clickEffect is onClick, withEffect is withPrevious, afterEffect is afterPrevious, and anything else is null.