webGlContextRestoredEvent constant

EventStreamProvider const webGlContextRestoredEvent

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');