webGlContextRestoredEvent constant

EventStreamProvider<ContextEvent> const webGlContextRestoredEvent = const EventStreamProvider<gl.ContextEvent>('webglcontextrestored')

Static factory designed to expose webglcontextrestored events to event handlers that are not necessarily instances of CanvasElement.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<gl.ContextEvent> webGlContextRestoredEvent =
    const EventStreamProvider<gl.ContextEvent>('webglcontextrestored')