WebGLContextEvent

open class WebGLContextEvent(val type: EventType<WebGLContextEvent>, init: WebGLContextEventInit = definedExternally) : Event(source)

The WebGLContextEvent interface is part of the WebGL API and is an interface for an event that is generated in response to a status change to the WebGL rendering context.

MDN Reference

Constructors

Link copied to clipboard
constructor(type: EventType<WebGLContextEvent>, init: WebGLContextEventInit = definedExternally)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
external val bubbles: Boolean
Link copied to clipboard
external val cancelable: Boolean
Link copied to clipboard
external val composed: Boolean
Link copied to clipboard
external val currentTarget: EventTarget?
Link copied to clipboard
Link copied to clipboard
external val eventPhase: EventPhase
Link copied to clipboard
external val isTrusted: Boolean
Link copied to clipboard
external val statusMessage: String

The read-only WebGLContextEvent.statusMessage property contains additional event status information, or is an empty string if no additional information is available.

Link copied to clipboard
external val target: EventTarget?
Link copied to clipboard
Link copied to clipboard
open external override val type: EventType<WebGLContextEvent>

Functions

Link copied to clipboard
Link copied to clipboard
external fun preventDefault()
Link copied to clipboard
Link copied to clipboard
external fun stopPropagation()