KeyboardEvent constructor

KeyboardEvent(
  1. String type, [
  2. KeyboardEventInit? eventInitDict
])

Implementation

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