WebGLContextEvent constructor

WebGLContextEvent(
  1. String type, [
  2. WebGLContextEventInit? eventInit
])

Implementation

factory WebGLContextEvent(String type, [WebGLContextEventInit? eventInit]) =>
    WebGLContextEvent._(type, eventInit ?? undefined);