Properties í TouchEvent
- target
- timeStamp
- type
- TouchLists:
touches, changedTouches, targetTouches
Properties í Touch (object)
- Stilltu á Mobile view í dev mode (F12) í vafra og hafðu
console opið.
- Smelltu með fingri á skjá, þar sérðu properties í
Touch sem TouchList
Touch object eitt eða fleiri (eitt pr. fingur) er að finna í TouchLists
- identifier: - begins at 0 and increments by 1 with every new touch point.
- target: - Returns the Element on which the touch point started when it was first placed on the surface
- clientX/clientY: - x and y co-ordinates of the touch point relative to the browser viewport.
- screenX/screenY: - the x and y co-ordinates of the touch point relative to the device's screen
- pageX/pageY: - the x and y co-ordinates of the touch point relative to the HTML page.
- force: (touch area) - Returns the amount of pressure being applied to the surface by the user
- radiusX/radiusY: (touch area)
- rotationAngle: (touch area)
Nánar um Touch properties