Skip to content

Class: Interaction ​

Hierarchy ​

Table of contents ​

Constructors ​

Properties ​

Accessors ​

Methods ​

Constructors ​

constructor ​

â€ĸ new Interaction(target, canvas, selector, userConfig?): Interaction

Parameters ​

NameType
targetILeaf
canvasIInteractionCanvas
selectorISelector
userConfig?IInteractionConfig

Returns ​

Interaction

Inherited from ​

InteractionBase.constructor

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:70

Properties ​

view ​

â€ĸ Protected view: HTMLElement

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:20


viewEvents ​

â€ĸ Protected viewEvents: IObject

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:22


windowEvents ​

â€ĸ Protected windowEvents: IObject

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:23


usePointer ​

â€ĸ Protected usePointer: boolean

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:25


useMultiTouch ​

â€ĸ Protected useMultiTouch: boolean

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:26


useTouch ​

â€ĸ Protected useTouch: boolean

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:27


touchTimer ​

â€ĸ Protected touchTimer: any

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:29


touches ​

â€ĸ Protected Optional touches: Touch[]

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:30


lastGestureScale ​

â€ĸ Protected lastGestureScale: number

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:31


lastGestureRotation ​

â€ĸ Protected lastGestureRotation: number

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:32


target ​

â€ĸ target: ILeaf

Inherited from ​

InteractionBase.target

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:16


canvas ​

â€ĸ canvas: IInteractionCanvas

Inherited from ​

InteractionBase.canvas

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:17


selector ​

â€ĸ selector: ISelector

Inherited from ​

InteractionBase.selector

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:18


running ​

â€ĸ running: boolean

Inherited from ​

InteractionBase.running

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:20


config ​

â€ĸ config: IInteractionConfig

Inherited from ​

InteractionBase.config

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:34


cursor ​

â€ĸ cursor: ICursorType | ICursorType[]

Inherited from ​

InteractionBase.cursor

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:38


bottomList ​

â€ĸ Optional bottomList: IPickBottom[]

Inherited from ​

InteractionBase.bottomList

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:41


shrinkCanvasBounds ​

â€ĸ shrinkCanvasBounds: IBounds

Inherited from ​

InteractionBase.shrinkCanvasBounds

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:43


downData ​

â€ĸ downData: IPointerEvent

Inherited from ​

InteractionBase.downData

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:45


hoverData ​

â€ĸ hoverData: IPointerEvent

Inherited from ​

InteractionBase.hoverData

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:46


focusData ​

â€ĸ focusData: ILeaf

Inherited from ​

InteractionBase.focusData

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:47


downTime ​

â€ĸ downTime: number

Inherited from ​

InteractionBase.downTime

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:49


overPath ​

â€ĸ Protected overPath: LeafList

Inherited from ​

InteractionBase.overPath

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:51


enterPath ​

â€ĸ Protected enterPath: LeafList

Inherited from ​

InteractionBase.enterPath

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:52


waitMenuTap ​

â€ĸ Protected waitMenuTap: boolean

Inherited from ​

InteractionBase.waitMenuTap

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:54


waitRightTap ​

â€ĸ Protected waitRightTap: boolean

Inherited from ​

InteractionBase.waitRightTap

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:55


waitTap ​

â€ĸ Protected waitTap: boolean

Inherited from ​

InteractionBase.waitTap

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:56


longPressTimer ​

â€ĸ Protected longPressTimer: any

Inherited from ​

InteractionBase.longPressTimer

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:57


longPressed ​

â€ĸ Protected longPressed: boolean

Inherited from ​

InteractionBase.longPressed

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:58


tapCount ​

â€ĸ Protected tapCount: number = 0

Inherited from ​

InteractionBase.tapCount

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:59


tapTimer ​

â€ĸ Protected tapTimer: any

Inherited from ​

InteractionBase.tapTimer

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:60


dragger ​

â€ĸ dragger: Dragger

Inherited from ​

InteractionBase.dragger

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:62


transformer ​

â€ĸ transformer: ITransformer

Inherited from ​

InteractionBase.transformer

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:63


__eventIds ​

â€ĸ Protected __eventIds: IEventListenerId[]

Inherited from ​

InteractionBase.__eventIds

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:65


defaultPath ​

â€ĸ Protected defaultPath: ILeafList

Inherited from ​

InteractionBase.defaultPath

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:66


downKeyMap ​

â€ĸ Protected downKeyMap: IBooleanMap = {}

Inherited from ​

InteractionBase.downKeyMap

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:68

Accessors ​

dragging ​

â€ĸ get dragging(): boolean

Returns ​

boolean

Inherited from ​

InteractionBase.dragging

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:22


transforming ​

â€ĸ get transforming(): boolean

Returns ​

boolean

Inherited from ​

InteractionBase.transforming

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:23


moveMode ​

â€ĸ get moveMode(): boolean

Returns ​

boolean

Inherited from ​

InteractionBase.moveMode

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:25


canHover ​

â€ĸ get canHover(): boolean

Returns ​

boolean

Inherited from ​

InteractionBase.canHover

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:26


isDragEmpty ​

â€ĸ get isDragEmpty(): boolean

Returns ​

boolean

Inherited from ​

InteractionBase.isDragEmpty

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:28


isMobileDragEmpty ​

â€ĸ get isMobileDragEmpty(): boolean

Returns ​

boolean

Inherited from ​

InteractionBase.isMobileDragEmpty

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:29


isHoldMiddleKey ​

â€ĸ get isHoldMiddleKey(): boolean

Returns ​

boolean

Inherited from ​

InteractionBase.isHoldMiddleKey

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:30


isHoldRightKey ​

â€ĸ get isHoldRightKey(): boolean

Returns ​

boolean

Inherited from ​

InteractionBase.isHoldRightKey

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:31


isHoldSpaceKey ​

â€ĸ get isHoldSpaceKey(): boolean

Returns ​

boolean

Inherited from ​

InteractionBase.isHoldSpaceKey

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:32


m ​

â€ĸ get m(): IMoveConfig

Returns ​

IMoveConfig

Inherited from ​

InteractionBase.m

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:35


p ​

â€ĸ get p(): IPointerConfig

Returns ​

IPointerConfig

Inherited from ​

InteractionBase.p

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:36


hitRadius ​

â€ĸ get hitRadius(): number

Returns ​

number

Inherited from ​

InteractionBase.hitRadius

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:39

Methods ​

__listenEvents ​

▸ __listenEvents(): void

Returns ​

void

Overrides ​

InteractionBase.__listenEvents

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:34


__removeListenEvents ​

▸ __removeListenEvents(): void

Returns ​

void

Overrides ​

InteractionBase.__removeListenEvents

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:85


getTouches ​

▸ getTouches(touches): Touch[]

Parameters ​

NameType
touchesTouchList

Returns ​

Touch[]

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:101


preventDefaultPointer ​

▸ preventDefaultPointer(e): void

Parameters ​

NameType
eUIEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:110


preventDefaultWheel ​

▸ preventDefaultWheel(e): void

Parameters ​

NameType
eUIEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:115


preventWindowPointer ​

▸ preventWindowPointer(e): boolean

Parameters ​

NameType
eUIEvent

Returns ​

boolean

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:120


onKeyDown ​

▸ onKeyDown(e): void

Parameters ​

NameType
eKeyboardEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:125


onKeyUp ​

▸ onKeyUp(e): void

Parameters ​

NameType
eKeyboardEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:129


onContextMenu ​

▸ onContextMenu(e): void

Parameters ​

NameType
ePointerEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:135


onScroll ​

▸ onScroll(): void

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:140


onPointerDown ​

▸ onPointerDown(e): void

Parameters ​

NameType
ePointerEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:145


onPointerMove ​

▸ onPointerMove(e): void

Parameters ​

NameType
ePointerEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:153


onPointerUp ​

▸ onPointerUp(e): void

Parameters ​

NameType
ePointerEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:159


onPointerCancel ​

▸ onPointerCancel(): void

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:165


onMouseDown ​

▸ onMouseDown(e): void

Parameters ​

NameType
eMouseEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:172


onMouseMove ​

▸ onMouseMove(e): void

Parameters ​

NameType
eMouseEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:179


onMouseUp ​

▸ onMouseUp(e): void

Parameters ​

NameType
eMouseEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:184


onMouseCancel ​

▸ onMouseCancel(): void

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:190


onTouchStart ​

▸ onTouchStart(e): void

Parameters ​

NameType
eTouchEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:197


onTouchMove ​

▸ onTouchMove(e): void

Parameters ​

NameType
eTouchEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:214


onTouchEnd ​

▸ onTouchEnd(e): void

Parameters ​

NameType
eTouchEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:222


onTouchCancel ​

▸ onTouchCancel(): void

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:234


multiTouchStart ​

▸ multiTouchStart(e): void

Parameters ​

NameType
eTouchEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:241


multiTouchMove ​

▸ multiTouchMove(e): void

Parameters ​

NameType
eTouchEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:247


multiTouchEnd ​

▸ multiTouchEnd(): void

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:259


getKeepTouchList ​

▸ getKeepTouchList(old, touches): IKeepTouchData[]

Parameters ​

NameType
oldTouch[]
touchesTouch[]

Returns ​

IKeepTouchData[]

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:265


getLocalTouchs ​

▸ getLocalTouchs(points): IPointData[]

Parameters ​

NameType
pointsTouch[]

Returns ​

IPointData[]

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:275


onWheel ​

▸ onWheel(e): void

Parameters ​

NameType
eWheelEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:281


onGesturestart ​

▸ onGesturestart(e): void

Parameters ​

NameType
eIGestureEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:293


onGesturechange ​

▸ onGesturechange(e): void

Parameters ​

NameType
eIGestureEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:301


onGestureend ​

▸ onGestureend(e): void

Parameters ​

NameType
eIGestureEvent

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:318


setCursor ​

▸ setCursor(cursor): void

Parameters ​

NameType
cursorICursorType | ICursorType[]

Returns ​

void

Overrides ​

InteractionBase.setCursor

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:327


eachCursor ​

▸ eachCursor(cursor, list, level?): void

Parameters ​

NameTypeDefault value
cursorICursorType | ICursorType[]undefined
listICursorType[]undefined
levelnumber0

Returns ​

void

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:335


destroy ​

▸ destroy(): void

Returns ​

void

Overrides ​

InteractionBase.destroy

Defined in ​

ui/packages/interaction/interaction-web/src/Interaction.ts:349


start ​

▸ start(): void

Returns ​

void

Inherited from ​

InteractionBase.start

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:84


stop ​

▸ stop(): void

Returns ​

void

Inherited from ​

InteractionBase.stop

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:88


receive ​

▸ receive(_event): void

Parameters ​

NameType
_eventany

Returns ​

void

Inherited from ​

InteractionBase.receive

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:93


pointerDown ​

▸ pointerDown(data?, useDefaultPath?): void

Parameters ​

NameType
data?IPointerEvent
useDefaultPath?boolean

Returns ​

void

Inherited from ​

InteractionBase.pointerDown

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:96


pointerMove ​

▸ pointerMove(data?): void

Parameters ​

NameType
data?IPointerEvent

Returns ​

void

Inherited from ​

InteractionBase.pointerMove

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:120


pointerMoveReal ​

▸ pointerMoveReal(data): void

Parameters ​

NameType
dataIPointerEvent

Returns ​

void

Inherited from ​

InteractionBase.pointerMoveReal

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:134


pointerUp ​

▸ pointerUp(data?): void

Parameters ​

NameType
data?IPointerEvent

Returns ​

void

Inherited from ​

InteractionBase.pointerUp

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:165


pointerCancel ​

▸ pointerCancel(): void

Returns ​

void

Inherited from ​

InteractionBase.pointerCancel

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:196


▸ menu(data): void

Parameters ​

NameType
dataIPointerEvent

Returns ​

void

Inherited from ​

InteractionBase.menu

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:204


▸ menuTap(data): void

Parameters ​

NameType
dataIPointerEvent

Returns ​

void

Inherited from ​

InteractionBase.menuTap

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:211


createTransformer ​

▸ createTransformer(): void

Returns ​

void

Inherited from ​

InteractionBase.createTransformer

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:220


move ​

▸ move(_data): void

Parameters ​

NameType
_dataIMoveEvent

Returns ​

void

Inherited from ​

InteractionBase.move

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:222


zoom ​

▸ zoom(_data): void

Parameters ​

NameType
_dataIZoomEvent

Returns ​

void

Inherited from ​

InteractionBase.zoom

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:224


rotate ​

▸ rotate(_data): void

Parameters ​

NameType
_dataIRotateEvent

Returns ​

void

Inherited from ​

InteractionBase.rotate

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:226


transformEnd ​

▸ transformEnd(): void

Returns ​

void

Inherited from ​

InteractionBase.transformEnd

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:228


wheel ​

▸ wheel(_data): void

Parameters ​

NameType
_dataIWheelEvent

Returns ​

void

Inherited from ​

InteractionBase.wheel

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:230


multiTouch ​

▸ multiTouch(_data, _list): void

Parameters ​

NameType
_dataIUIEvent
_listIKeepTouchData[]

Returns ​

void

Inherited from ​

InteractionBase.multiTouch

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:232


keyDown ​

▸ keyDown(data): void

Parameters ​

NameType
dataIKeyEvent

Returns ​

void

Inherited from ​

InteractionBase.keyDown

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:238


keyUp ​

▸ keyUp(data): void

Parameters ​

NameType
dataIKeyEvent

Returns ​

void

Inherited from ​

InteractionBase.keyUp

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:255


pointerHover ​

▸ pointerHover(data): void

Parameters ​

NameType
dataIPointerEvent

Returns ​

void

Inherited from ​

InteractionBase.pointerHover

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:268


pointerOverOrOut ​

▸ pointerOverOrOut(data): void

Parameters ​

NameType
dataIPointerEvent

Returns ​

void

Inherited from ​

InteractionBase.pointerOverOrOut

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:275


pointerEnterOrLeave ​

▸ pointerEnterOrLeave(data): void

Parameters ​

NameType
dataIPointerEvent

Returns ​

void

Inherited from ​

InteractionBase.pointerEnterOrLeave

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:290


touchLeave ​

▸ touchLeave(data): void

Parameters ​

NameType
dataIPointerEvent

Returns ​

void

Inherited from ​

InteractionBase.touchLeave

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:305


tap ​

▸ tap(data): void

Parameters ​

NameType
dataIPointerEvent

Returns ​

void

Inherited from ​

InteractionBase.tap

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:314


findPath ​

▸ findPath(data, options?): ILeafList

Parameters ​

NameType
dataIPointerEvent
options?IPickOptions

Returns ​

ILeafList

Inherited from ​

InteractionBase.findPath

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:354


isRootPath ​

▸ isRootPath(data): boolean

Parameters ​

NameType
dataIPointerEvent

Returns ​

boolean

Inherited from ​

InteractionBase.isRootPath

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:363


isTreePath ​

▸ isTreePath(data): boolean

Parameters ​

NameType
dataIPointerEvent

Returns ​

boolean

Inherited from ​

InteractionBase.isTreePath

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:367


checkPath ​

▸ checkPath(data, useDefaultPath?): void

Parameters ​

NameType
dataIPointerEvent
useDefaultPath?boolean

Returns ​

void

Inherited from ​

InteractionBase.checkPath

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:373


canMove ​

▸ canMove(data): boolean

Parameters ​

NameType
dataIPointerEvent

Returns ​

boolean

Inherited from ​

InteractionBase.canMove

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:377


isDrag ​

▸ isDrag(leaf): boolean

Parameters ​

NameType
leafILeaf

Returns ​

boolean

Inherited from ​

InteractionBase.isDrag

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:382


isPress ​

▸ isPress(leaf): boolean

Parameters ​

NameType
leafILeaf

Returns ​

boolean

Inherited from ​

InteractionBase.isPress

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:386


isHover ​

▸ isHover(leaf): boolean

Parameters ​

NameType
leafILeaf

Returns ​

boolean

Inherited from ​

InteractionBase.isHover

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:390


isFocus ​

▸ isFocus(leaf): boolean

Parameters ​

NameType
leafILeaf

Returns ​

boolean

Inherited from ​

InteractionBase.isFocus

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:394


cancelHover ​

▸ cancelHover(): void

Returns ​

void

Inherited from ​

InteractionBase.cancelHover

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:399


updateDownData ​

▸ updateDownData(data?, options?, merge?): void

Parameters ​

NameType
data?IPointerEvent
options?IPickOptions
merge?boolean

Returns ​

void

Inherited from ​

InteractionBase.updateDownData

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:408


updateHoverData ​

▸ updateHoverData(data?): void

Parameters ​

NameType
data?IPointerEvent

Returns ​

void

Inherited from ​

InteractionBase.updateHoverData

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:417


updateCursor ​

▸ updateCursor(data?): void

Parameters ​

NameType
data?IPointerEvent

Returns ​

void

Inherited from ​

InteractionBase.updateCursor

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:424


getLocal ​

▸ getLocal(clientPoint, updateClient?): IPointData

Parameters ​

NameType
clientPointIClientPointData
updateClient?boolean

Returns ​

IPointData

Inherited from ​

InteractionBase.getLocal

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:454


emitTap ​

▸ emitTap(data): void

Parameters ​

NameType
dataIPointerEvent

Returns ​

void

Inherited from ​

InteractionBase.emitTap

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:460


emitDoubleTap ​

▸ emitDoubleTap(data): void

Parameters ​

NameType
dataIPointerEvent

Returns ​

void

Inherited from ​

InteractionBase.emitDoubleTap

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:465


pointerWaitCancel ​

▸ pointerWaitCancel(): void

Returns ​

void

Inherited from ​

InteractionBase.pointerWaitCancel

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:470


tapWait ​

▸ tapWait(): void

Returns ​

void

Inherited from ​

InteractionBase.tapWait

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:475


tapWaitCancel ​

▸ tapWaitCancel(): void

Returns ​

void

Inherited from ​

InteractionBase.tapWaitCancel

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:480


longPressWait ​

▸ longPressWait(data): void

Parameters ​

NameType
dataIPointerEvent

Returns ​

void

Inherited from ​

InteractionBase.longPressWait

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:486


longTap ​

▸ longTap(data): boolean

Parameters ​

NameType
dataIPointerEvent

Returns ​

boolean

Inherited from ​

InteractionBase.longTap

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:494


longPressWaitCancel ​

▸ longPressWaitCancel(): void

Returns ​

void

Inherited from ​

InteractionBase.longPressWaitCancel

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:504


__onResize ​

▸ __onResize(): void

Returns ​

void

Inherited from ​

InteractionBase.__onResize

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:509


emit ​

▸ emit(type, data, path?, excludePath?): void

Parameters ​

NameType
typestring
dataIUIEvent
path?ILeafList
excludePath?ILeafList

Returns ​

void

Inherited from ​

InteractionBase.emit

Defined in ​

ui/packages/interaction/interaction/src/Interaction.ts:527

Released under the MIT License.