PointerEvent

open external class PointerEvent(type: String, eventInitDict: PointerEventInit) : MouseEvent

Exposes the JavaScript PointerEvent to Kotlin

Constructors

PointerEvent
Link copied to clipboard
JS
fun PointerEvent(type: String, eventInitDict: PointerEventInit = definedExternally)

Types

Companion
Link copied to clipboard
JS
object Companion

Functions

composedPath
Link copied to clipboard
JS
fun composedPath(): Array<EventTarget>
getModifierState
Link copied to clipboard
JS
fun getModifierState(keyArg: String): Boolean
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()

Properties

altKey
Link copied to clipboard
JS
open val altKey: Boolean
bubbles
Link copied to clipboard
JS
open val bubbles: Boolean
button
Link copied to clipboard
JS
open val button: Short
buttons
Link copied to clipboard
JS
open val buttons: Short
cancelable
Link copied to clipboard
JS
open val cancelable: Boolean
clientX
Link copied to clipboard
JS
open val clientX: Int
clientY
Link copied to clipboard
JS
open val clientY: Int
composed
Link copied to clipboard
JS
open val composed: Boolean
ctrlKey
Link copied to clipboard
JS
open val ctrlKey: Boolean
currentTarget
Link copied to clipboard
JS
open val currentTarget: EventTarget?
defaultPrevented
Link copied to clipboard
JS
open val defaultPrevented: Boolean
detail
Link copied to clipboard
JS
open val detail: Int
eventPhase
Link copied to clipboard
JS
open val eventPhase: Short
height
Link copied to clipboard
JS
open val height: Double
isPrimary
Link copied to clipboard
JS
open val isPrimary: Boolean
isTrusted
Link copied to clipboard
JS
open val isTrusted: Boolean
metaKey
Link copied to clipboard
JS
open val metaKey: Boolean
offsetX
Link copied to clipboard
JS
open val offsetX: Double
offsetY
Link copied to clipboard
JS
open val offsetY: Double
pageX
Link copied to clipboard
JS
open val pageX: Double
pageY
Link copied to clipboard
JS
open val pageY: Double
pointerId
Link copied to clipboard
JS
open val pointerId: Int
pointerType
Link copied to clipboard
JS
open val pointerType: String
pressure
Link copied to clipboard
JS
open val pressure: Float
region
Link copied to clipboard
JS
open val region: String?
relatedTarget
Link copied to clipboard
JS
open val relatedTarget: EventTarget?
screenX
Link copied to clipboard
JS
open val screenX: Int
screenY
Link copied to clipboard
JS
open val screenY: Int
shiftKey
Link copied to clipboard
JS
open val shiftKey: Boolean
tangentialPressure
Link copied to clipboard
JS
open val tangentialPressure: Float
target
Link copied to clipboard
JS
open val target: EventTarget?
tiltX
Link copied to clipboard
JS
open val tiltX: Int
tiltY
Link copied to clipboard
JS
open val tiltY: Int
timeStamp
Link copied to clipboard
JS
open val timeStamp: Number
twist
Link copied to clipboard
JS
open val twist: Int
type
Link copied to clipboard
JS
open val type: String
view
Link copied to clipboard
JS
open val view: Window?
width
Link copied to clipboard
JS
open val width: Double
x
Link copied to clipboard
JS
open val x: Double
y
Link copied to clipboard
JS
open val y: Double