Interface: IPointerEvent
Hierarchy
↳
IPointerEvent
↳↳
IDragEvent
↳↳
IDropEvent
Implemented by
Table of contents
Properties
- origin
- type
- target
- current
- bubbles
- phase
- isStopDefault
- isStop
- isStopNow
- x
- y
- altKey
- ctrlKey
- shiftKey
- metaKey
- spaceKey
- left
- right
- middle
- buttons
- path
- throughPath
- width
- height
- pointerType
- multiTouch
- pressure
- tangentialPressure
- tiltX
- tiltY
- twist
- isCancel
Methods
Properties
origin
• Optional
origin: IObject
Inherited from
Defined in
leafer/packages/interface/src/event/IEvent.ts:9
type
• Optional
type: string
Inherited from
Defined in
leafer/packages/interface/src/event/IEvent.ts:11
target
• Optional
target: IEventTarget
Inherited from
Defined in
leafer/packages/interface/src/event/IEvent.ts:12
current
• Optional
current: IEventTarget
Inherited from
Defined in
leafer/packages/interface/src/event/IEvent.ts:13
bubbles
• Optional
bubbles: boolean
Inherited from
Defined in
leafer/packages/interface/src/event/IEvent.ts:15
phase
• Optional
phase: number
Inherited from
Defined in
leafer/packages/interface/src/event/IEvent.ts:16
isStopDefault
• Optional
isStopDefault: boolean
Inherited from
Defined in
leafer/packages/interface/src/event/IEvent.ts:18
isStop
• Optional
isStop: boolean
Inherited from
Defined in
leafer/packages/interface/src/event/IEvent.ts:19
isStopNow
• Optional
isStopNow: boolean
Inherited from
Defined in
leafer/packages/interface/src/event/IEvent.ts:20
x
• x: number
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:9
y
• y: number
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:10
altKey
• Optional
altKey: boolean
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:12
ctrlKey
• Optional
ctrlKey: boolean
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:13
shiftKey
• Optional
shiftKey: boolean
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:14
metaKey
• Optional
metaKey: boolean
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:15
spaceKey
• Optional
Readonly
spaceKey: boolean
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:16
left
• Optional
Readonly
left: boolean
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:18
right
• Optional
Readonly
right: boolean
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:19
middle
• Optional
Readonly
middle: boolean
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:20
buttons
• Optional
buttons: number
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:21
path
• Optional
path: ILeafList
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:23
throughPath
• Optional
throughPath: ILeafList
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:24
width
• Optional
width: number
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:39
height
• Optional
height: number
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:40
pointerType
• Optional
pointerType: PointerType
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:41
multiTouch
• Optional
multiTouch: boolean
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:42
pressure
• Optional
pressure: number
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:43
tangentialPressure
• Optional
tangentialPressure: number
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:44
tiltX
• Optional
tiltX: number
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:45
tiltY
• Optional
tiltY: number
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:46
twist
• Optional
twist: number
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:47
isCancel
• Optional
isCancel: boolean
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:48
Methods
stopDefault
▸ stopDefault(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/event/IEvent.ts:21
stopNow
▸ stopNow(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/event/IEvent.ts:22
stop
▸ stop(): void
Returns
void
Inherited from
Defined in
leafer/packages/interface/src/event/IEvent.ts:23
getBoxPoint
▸ getBoxPoint(relative?
): IPointData
Parameters
Name | Type |
---|---|
relative? | ILeaf |
Returns
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:26
getInnerPoint
▸ getInnerPoint(relative?
): IPointData
Parameters
Name | Type |
---|---|
relative? | ILeaf |
Returns
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:27
getLocalPoint
▸ getLocalPoint(relative?
): IPointData
Parameters
Name | Type |
---|---|
relative? | ILeaf |
Returns
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:28
getPagePoint
▸ getPagePoint(): IPointData
Returns
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:29
getInner
▸ getInner(relative?
): IPointData
Parameters
Name | Type |
---|---|
relative? | ILeaf |
Returns
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:32
getLocal
▸ getLocal(relative?
): IPointData
Parameters
Name | Type |
---|---|
relative? | ILeaf |
Returns
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:33
getPage
▸ getPage(): IPointData