touchcancel
touchcancel
이벤트는 터치포인트가 현재 구현된 방식안에서 방해 받을때 ( 예를들어 너무 많은 터치 포인트) 발생한다.
General info
- Specification
- Interface
-
TouchEvent
- Bubbles
-
Yes
- Cancelable
-
No
- Target
-
Document, Element
- Default Action
-
None
Properties
Property | Type | Description |
---|---|---|
target 읽기 전용 |
EventTarget | The event target (the topmost target in the DOM tree). |
type 읽기 전용 |
DOMString | The type of event. |
bubbles 읽기 전용 |
Boolean | Whether the event normally bubbles or not. |
cancelable 읽기 전용 |
Boolean | Whether the event is cancellable or not. |
view 읽기 전용 |
WindowProxy | document.defaultView (window of the document) |
detail 읽기 전용 |
long (float) | 0. |
touches 읽기 전용 |
TouchList | A list of Touch es for every point of contact currently touching the surface. |
targetTouches 읽기 전용 |
TouchList | A list of Touch es for every point of contact that is touching the surface and started on the element that is the target of the current event. |
changedTouches 읽기 전용 |
TouchList | A list of Touch (en-US)es for every point of contact which contributed to the event. For the touchstart event this must be a list of the touch points that just became active with the current event. For the touchmove event this must be a list of the touch points that have moved since the last event. For the touchend and touchcancel events this must be a list of the touch points that have just been removed from the surface. |
ctrlKey 읽기 전용 |
boolean | true if the control key was down when the event was fired. false otherwise. |
shiftKey 읽기 전용 |
boolean | true if the shift key was down when the event was fired. false otherwise. |
altKey 읽기 전용 |
boolean | true if the alt key was down when the event was fired. false otherwise. |
metaKey 읽기 전용 |
boolean | true if the meta key was down when the event was fired. false otherwise. |
Examples
해당 이벤트의 샘플코드는 Touch events (en-US) 에서 확인할 수 있다.