@whitesev/domutils 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -372,6 +372,13 @@ export declare type DOMUtilsEventListenerOption = AddEventListenerOptions & {
372
372
  * @default false
373
373
  */
374
374
  isComposedPath?: boolean;
375
+ /**
376
+ * 是否覆写`target`,仅传入了子元素的`selectorTarget`时才会生效
377
+ *
378
+ * 原始的`target`将命名为`originTarget`
379
+ * @default true
380
+ */
381
+ overrideTarget?: boolean;
375
382
  };
376
383
  export declare type DOMUtilsElementEventType =
377
384
  | HTMLElement