Home Reference Source
public class | source

SensorEvent

Extends:

* → SensorEvent

Base sensor event

Member Summary

Public Members
public get

Normalized clientX for both touch and mouse events

public get

Normalized clientY for both touch and mouse events

public get

container: HTMLElement

Container that initiated the sensor

public get

originalEvent: Event

Original browser event that triggered a sensor

public get

Trackpad pressure

public get

target: HTMLElement

Normalized target for both touch and mouse events Returns the element that is behind cursor or touch pointer

Public Members

public get clientX: Number source

Normalized clientX for both touch and mouse events

Properties:

NameTypeAttributeDescription
clientX *

public get clientY: Number source

Normalized clientY for both touch and mouse events

Properties:

NameTypeAttributeDescription
clientY *

public get container: HTMLElement source

Container that initiated the sensor

Properties:

NameTypeAttributeDescription
container *

public get originalEvent: Event source

Original browser event that triggered a sensor

Properties:

NameTypeAttributeDescription
originalEvent *

public get pressure: Number source

Trackpad pressure

Properties:

NameTypeAttributeDescription
pressure *

public get target: HTMLElement source

Normalized target for both touch and mouse events Returns the element that is behind cursor or touch pointer

Properties:

NameTypeAttributeDescription
target *