Event

open external class Event(type: String, eventInitDict: EventInit)

Exposes the JavaScript Event to Kotlin

Constructors

Event
Link copied to clipboard
fun Event(type: String, eventInitDict: EventInit = definedExternally)

Types

Companion
Link copied to clipboard
object Companion

Functions

composedPath
Link copied to clipboard
fun composedPath(): Array<EventTarget>
initEvent
Link copied to clipboard
fun initEvent(type: String, bubbles: Boolean, cancelable: Boolean)
preventDefault
Link copied to clipboard
fun preventDefault()
stopImmediatePropagation
Link copied to clipboard
fun stopImmediatePropagation()
stopPropagation
Link copied to clipboard
fun stopPropagation()

Properties

bubbles
Link copied to clipboard
open val bubbles: Boolean
cancelable
Link copied to clipboard
open val cancelable: Boolean
composed
Link copied to clipboard
open val composed: Boolean
currentTarget
Link copied to clipboard
open val currentTarget: EventTarget?
defaultPrevented
Link copied to clipboard
open val defaultPrevented: Boolean
eventPhase
Link copied to clipboard
open val eventPhase: Short
isTrusted
Link copied to clipboard
open val isTrusted: Boolean
target
Link copied to clipboard
open val target: EventTarget?
timeStamp
Link copied to clipboard
open val timeStamp: Number
type
Link copied to clipboard
open val type: String

Inheritors

UIEvent
Link copied to clipboard
TrackEvent
Link copied to clipboard
RelatedEvent
Link copied to clipboard
PopStateEvent
Link copied to clipboard
HashChangeEvent
Link copied to clipboard
PageTransitionEvent
Link copied to clipboard
BeforeUnloadEvent
Link copied to clipboard
ErrorEvent
Link copied to clipboard
PromiseRejectionEvent
Link copied to clipboard
MessageEvent
Link copied to clipboard
CloseEvent
Link copied to clipboard
StorageEvent
Link copied to clipboard
CustomEvent
Link copied to clipboard
MediaQueryListEvent
Link copied to clipboard
WebGLContextEvent
Link copied to clipboard
ClipboardEvent
Link copied to clipboard
MediaKeyMessageEvent
Link copied to clipboard
MediaEncryptedEvent
Link copied to clipboard
MediaStreamTrackEvent
Link copied to clipboard
OverconstrainedErrorEvent
Link copied to clipboard
ServiceWorkerMessageEvent
Link copied to clipboard
ExtendableEvent
Link copied to clipboard
ProgressEvent
Link copied to clipboard