Ievgen Naida 5 жил өмнө
parent
commit
28b0b1ecfe
1 өөрчлөгдсөн 6 нэмэгдсэн , 1 устгасан
  1. 6 1
      src/timeline.ts

+ 6 - 1
src/timeline.ts

@@ -602,7 +602,12 @@ export class Timeline extends TimelineEventsEmitter {
       this._cleanUpSelection();
     }
   }
-
+  /**
+   * Get current interaction mode.
+   */
+  public getInteractionMode(): TimelineInteractionMode {
+    return this._interactionMode;
+  }
   _convertToElement(row: TimelineRow, keyframe: TimelineKeyframe): TimelineClickableElement {
     const data = {
       type: TimelineElementType.Keyframe,