window.kaolin
    Preparing search index...

    Function resolveCanvas

    • Resolve a CanvasOrId to the canvas element, logging and returning null on failure.

      Parameters

      • canvasOrId: CanvasOrId

        Canvas element or its DOM id.

      Returns HTMLCanvasElement

      The canvas element, or null if not found.