CssClassOptions: {
    toAddOnFinish: string[];
    toAddOnStart: string[];
    toRemoveOnFinish: string[];
    toRemoveOnStart: string[];
}

Contains configuration options that determine what CSS classes should be added or removed from the target element when the clip is played or rewound.

Type declaration

  • toAddOnFinish: string[]

    Array of CSS classes to add to the element when the clip finishes playing.

  • toAddOnStart: string[]

    Array of CSS classes to add to the element when the clip starts playing.

  • toRemoveOnFinish: string[]

    Array of CSS classes to remove from the element when the clip finishes playing.

  • toRemoveOnStart: string[]

    Array of CSS classes to remove from the element when the clip starts playing.