Sfoglia il codice sorgente

Merge pull request #7 from artifacts/master

Added comments for the new options
Ievgen Naida 5 anni fa
parent
commit
4599eec71b
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      index.js

+ 2 - 0
index.js

@@ -79,7 +79,9 @@ let defaultOptions = {
     keyframesDraggable: true,
     keyframesDraggable: true,
     // Whether keyframes lanes draggable. Can be also configured by a lane property draggable
     // Whether keyframes lanes draggable. Can be also configured by a lane property draggable
     keyframesLanesDraggable: true,
     keyframesLanesDraggable: true,
+    // Set this to true in a macos environment: The Meta key will be used instead of the Ctrl key.
     controlKeyIsMetaKey: false,
     controlKeyIsMetaKey: false,
+    // Access the scroll container via this class for e.g. scrollbar styling.
     scrollContainerClass: 'scroll-container'
     scrollContainerClass: 'scroll-container'
 }
 }