Interface: ISwipeEvent
Hierarchy
↳
ISwipeEvent
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
- moveX
- moveY
- totalX
- totalY
Methods
- stopDefault
- stopNow
- stop
- getBoxPoint
- getInnerPoint
- getLocalPoint
- getPagePoint
- getInner
- getLocal
- getPage
- getPageMove
- getInnerMove
- getLocalMove
- getPageTotal
- getInnerTotal
- getLocalTotal
- getPageBounds
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
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:39
height
• Optional
height: number
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:40
pointerType
• Optional
pointerType: PointerType
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:41
multiTouch
• Optional
multiTouch: boolean
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:42
pressure
• Optional
pressure: number
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:43
tangentialPressure
• Optional
tangentialPressure: number
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:44
tiltX
• Optional
tiltX: number
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:45
tiltY
• Optional
tiltY: number
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:46
twist
• Optional
twist: number
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:47
isCancel
• Optional
isCancel: boolean
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:48
moveX
• moveX: number
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:53
moveY
• moveY: number
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:54
totalX
• Optional
totalX: number
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:55
totalY
• Optional
totalY: number
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:56
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
Returns
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:34
getPageMove
▸ getPageMove(total?
): IPointData
Parameters
Name | Type |
---|---|
total? | boolean |
Returns
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:58
getInnerMove
▸ getInnerMove(relative?
): IPointData
Parameters
Name | Type |
---|---|
relative? | ILeaf |
Returns
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:59
getLocalMove
▸ getLocalMove(relative?
): IPointData
Parameters
Name | Type |
---|---|
relative? | ILeaf |
Returns
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:60
getPageTotal
▸ getPageTotal(): IPointData
Returns
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:62
getInnerTotal
▸ getInnerTotal(relative?
): IPointData
Parameters
Name | Type |
---|---|
relative? | ILeaf |
Returns
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:63
getLocalTotal
▸ getLocalTotal(relative?
): IPointData
Parameters
Name | Type |
---|---|
relative? | ILeaf |
Returns
Inherited from
Defined in
leafer/packages/interface/src/event/IUIEvent.ts:64
getPageBounds
▸ getPageBounds(): IBoundsData