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