Documentation
    Preparing search index...

    Interface WebglContextEventLike

    The minimum a DOM event has to offer this backend: a way to stop the default handling of webglcontextlost.

    Calling preventDefault() on that event is what makes the browser promise to fire webglcontextrestored. Without it the context never comes back, and §61's restore half of the contract becomes unimplementable.

    interface WebglContextEventLike {
        preventDefault(): void;
    }
    Index