DragEvent constructor

DragEvent(
  1. String type, [
  2. DragEventInit? eventInitDict
])

Implementation

factory DragEvent(String type, [DragEventInit? eventInitDict]) =>
    DragEvent._(type, eventInitDict ?? undefined);