ExtendableEvent

open external class ExtendableEvent(type: String, eventInitDict: ExtendableEventInit) : Event

Exposes the JavaScript ExtendableEvent to Kotlin

Constructors

ExtendableEvent
Link copied to clipboard
JS
fun ExtendableEvent(type: String, eventInitDict: ExtendableEventInit = definedExternally)

Types

Companion
Link copied to clipboard
JS
object Companion

Functions

composedPath
Link copied to clipboard
JS
fun composedPath(): Array<EventTarget>
initEvent
Link copied to clipboard
JS
fun initEvent(type: String, bubbles: Boolean, cancelable: Boolean)
preventDefault
Link copied to clipboard
JS
fun preventDefault()
stopImmediatePropagation
Link copied to clipboard
JS
fun stopImmediatePropagation()
stopPropagation
Link copied to clipboard
JS
fun stopPropagation()
waitUntil
Link copied to clipboard
JS
fun waitUntil(f: Promise<Any?>)

Properties

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

Inheritors

NotificationEvent
Link copied to clipboard
InstallEvent
Link copied to clipboard
FetchEvent
Link copied to clipboard
ForeignFetchEvent
Link copied to clipboard
ExtendableMessageEvent
Link copied to clipboard
FunctionalEvent
Link copied to clipboard