larsvanbraam/transition-controller

View on GitHub
src/lib/interface/ICreateTimelineOptions.ts

Summary

Maintainability
A
0 mins
Test Coverage
export interface ICreateTimelineOptions {
  /**
   * This should be the callback method that is triggered when the timeline in starts
   */
  onStart?: () => void;

  /**
   * This should be the callback method that is triggered when the timeline in completes
   */
  onComplete?: () => void;

  /**
   * This should be the callback method that is triggered when the timeline out starts
   */
  onReverseStart?: () => void;

  /**
   * This should be the callback method that is triggered when the timeline out completes
   */
  onReverseComplete?: () => void;

  /**
   * Flag that defines if we should use timeline max for the timelines
   */
  useTimelineMax?: boolean;
}