Contains configuration options used to define the details and behavior of the animation timeline.

interface AnimTimelineConfig {
    autoLinksButtons: boolean;
    debugMode: boolean;
    timelineName: string;
}

Properties

autoLinksButtons: boolean

If true, the timeline will instantly attempt to find <wbmtr-playback-button> elements whose timeline-name attributes are equivalent to the timeline's timelineName configuration option using linkPlaybackButtons().

true
debugMode: boolean

Controls whether information about the timeline is logged to the console during playback.

false
timelineName: string

String representing the name of the timeline. This value is used to sync with <wbmtr-playback-button> elements that share the same value in their timeline-name attribute.

''