webchalk-animate - v0.31.0
    Preparing search index...

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

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

    Properties

    toAddOnFinish: string[]

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

    toAddOnStart: string[]

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

    toRemoveOnFinish: string[]

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

    toRemoveOnStart: string[]

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