UIEvent constructor

UIEvent(
  1. String type, [
  2. UIEventInit? eventInitDict
])

Implementation

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