Add constructors · w3c/touch-events@219546b (original) (raw)
`@@ -266,7 +266,7 @@
Touch
Interface
`
266
266
` attributes must not change.
`
267
267
`
`
268
268
``
269
``
`-
- readonly attribute long identifier
- required long identifier
- Initializes the
identifier
property of theTouch
object. - required EventTarget target
- Initializes the
identifier
property of theTouch
object. - double screenX = 0
- Initializes the
screenX
property of theTouch
object. - double screenY = 0
- Initializes the
screenY
property of theTouch
object. - double pageX = 0
- Initializes the
pageX
andclientX
properties of theTouch
object. - double pageY = 0
- Initializes the
pageY
andclientY
properties of theTouch
object. - float radiusX = 0
- Initializes the
radiusX
property of theTouch
object. - float radiusY = 0
- Initializes the
radiusY
property of theTouch
object. - float rotationAngle = 0
- Initializes the
rotationAngle
property of theTouch
object. - float force = 0
- Initializes the
force
property of theTouch
object. - readonly attribute
TouchList
touches - sequence<Touch> touches = []
- Initializes the
touches
property of theTouchEvent
object with each element from the sequence. - sequence<Touch> targetTouches = []
- Initializes the
touches
property of theTouchEvent
object with each element from the sequence. - sequence<Touch> changedTouches = []
- Initializes the
touches
property of theTouchEvent
object with each element from the sequence. - boolean altKey
- Initializes the
altKey
property of theTouchEvent
object. - boolean metaKey
- Initializes the
metaKey
property of theTouchEvent
object. - boolean ctrlKey
- Initializes the
ctrlKey
property of theTouchEvent
object. - boolean shiftKey
- Initializes the
shiftKey
property of theTouchEvent
object.
`
``
269
`+
`
270
270
`
`
271
271
`
`
272
272
` An identification number for each touch point.
`
`@@ -352,6 +352,29 @@
Touch
Interface
`
352
352
` the sensitivity in levels of pressure, may vary.
`
353
353
`
`
354
354
`
`
``
355
+
``
356
`+
`
``
357
`+
`
``
358
`+
`
``
359
`+
`
``
360
`+
`
``
361
`+
`
``
362
`+
`
``
363
`+
`
``
364
`+
`
``
365
`+
`
``
366
`+
`
``
367
`+
`
``
368
`+
`
``
369
`+
`
``
370
`+
`
``
371
`+
`
``
372
`+
`
``
373
`+
`
``
374
`+
`
``
375
`+
`
``
376
`+
`
``
377
`+
`
355
378
`
`
356
379
``
357
380
`
`
`@@ -393,7 +416,7 @@
TouchEvent
Interface
`
393
416
` initialized, its attributes must not change.
`
394
417
`
`
395
418
``
396
``
`-
`
``
419
`+
`
397
420
`
`
398
421
`
`
399
422
` a list of Touch
objects for every point of contact currently
`
`@@ -445,6 +468,23 @@
TouchEvent
Interface
`
445
468
`
`
446
469
`
`
447
470
``
``
471
`+
`
``
472
`+
`
``
473
`+
`
``
474
`+
`
``
475
`+
`
``
476
`+
`
``
477
`+
`
``
478
`+
`
``
479
`+
`
``
480
`+
`
``
481
`+
`
``
482
`+
`
``
483
`+
`
``
484
`+
`
``
485
`+
`
``
486
`+
`
``
487
+
448
488
`
`
449
489
`
TouchEvent Implementer's Note
`
450
490
`
`
`@@ -781,8 +821,8 @@
Extensions to the Document
Interface
`
781
821
` can use it to initialize the properties of a TouchEvent
object,
`
782
822
` including its TouchList
properties (which can be initialized
`
783
823
` with values returned from createTouchList
). The
`
784
``
`-
initTouchEvent
method is not yet standardized, but it may appear
`
785
``
`-
in some form in a future specification.
`
``
824
`+
initTouchEvent
method is not yet standardized and will
`
``
825
`+
eventually be superceded by the TouchEvent
constructor.
`
786
826
`
`
787
827
`
`
788
828
``