CloseEvent constructor

CloseEvent(
  1. String type, [
  2. CloseEventInit? eventInitDict
])

Implementation

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