Browse Source

add event id to html element

tripeur 4 năm trước cách đây
mục cha
commit
e91504657e
3 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 1 0
      lib/Timeline.js
  2. 0 0
      lib/Timeline.js.map
  3. 1 0
      src/Timeline.ts

+ 1 - 0
lib/Timeline.js

@@ -615,6 +615,7 @@ let Timeline = class Timeline extends lit_element_1.LitElement {
       start="${evt.start.getHours()}"
       end="${evt.end.getHours()}"
       style="${style_map_1.styleMap(style)}"
+      evenId="${evt.id}"
       @mousedown="${this._getEventGrabHandler(evt, resizer, editableRessource, this._getEventClickHandler(evt))}"
       @click="${(e) => e.stopPropagation()}"
     >

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
lib/Timeline.js.map


+ 1 - 0
src/Timeline.ts

@@ -738,6 +738,7 @@ class Timeline extends LitElement {
       start="${evt.start.getHours()}"
       end="${evt.end.getHours()}"
       style="${styleMap(style)}"
+      evenId="${evt.id}"
       @mousedown="${this._getEventGrabHandler(
         evt,
         resizer,

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác