ISSUE-8: Add an initTouchEvent method.
authorMatt Brubeck <mbrubeck@mozilla.com>
Tue, 29 Mar 2011 17:10:00 -0700
changeset 234958878564b1
parent 22 2df3601083b4
child 24 a9d08bdce9dc
ISSUE-8: Add an initTouchEvent method.
touchevents.html
     1.1 --- a/touchevents.html	Tue Mar 29 17:07:52 2011 -0700
     1.2 +++ b/touchevents.html	Tue Mar 29 17:10:00 2011 -0700
     1.3 @@ -22,7 +22,7 @@
     1.4            // subtitle   :  "an excellent document",
     1.5  
     1.6            // if you wish the publication date to be other than today, set this
     1.7 -          publishDate:  "2011-03-25",
     1.8 +          publishDate:  "2011-03-29",
     1.9  
    1.10            // if the specification's copyright date is a range of years, specify
    1.11            // the start date here:
    1.12 @@ -86,6 +86,10 @@
    1.13          font-family: monospace;
    1.14          color: #459900;
    1.15        }
    1.16 +
    1.17 +      pre.idl {
    1.18 +        white-space: pre-wrap;
    1.19 +      }
    1.20      </style>
    1.21    </head>
    1.22    <body>
    1.23 @@ -229,6 +233,34 @@
    1.24          <dd>
    1.25            a list of <a>TouchPoint</a>s for every point of contact which contributed to the event
    1.26          </dd>
    1.27 +
    1.28 +        <!-- Methods -->
    1.29 +        <dt>void initTouchEvent()</dt>
    1.30 +        <dd>
    1.31 +          initializes a TouchEvent created through the <a>DocumentEvent</a> interface.
    1.32 +          <dl class='parameters'>
    1.33 +            <dt>DOMString type</dt> <dd></dd>
    1.34 +            <dt>boolean canBubble</dt> <dd></dd>
    1.35 +            <dt>boolean cancelable</dt> <dd></dd>
    1.36 +            <dt>DOMWindow view</dt> <dd></dd>
    1.37 +            <dt>long detail</dt> <dd></dd>
    1.38 +            <dt>long screenX</dt> <dd></dd>
    1.39 +            <dt>long screenY</dt> <dd></dd>
    1.40 +            <dt>long clientX</dt> <dd></dd>
    1.41 +            <dt>long clientY</dt> <dd></dd>
    1.42 +            <dt>boolean ctrlKey</dt> <dd></dd>
    1.43 +            <dt>boolean altKey</dt> <dd></dd>
    1.44 +            <dt>boolean shiftKey</dt> <dd></dd>
    1.45 +            <dt>boolean metaKey</dt> <dd></dd>
    1.46 +            <dt>TouchList touches</dt> <dd></dd>
    1.47 +            <dt>TouchList targetTouches</dt> <dd></dd>
    1.48 +            <dt>TouchList changedTouches</dt> <dd></dd>
    1.49 +            <dt>long radiusX</dt> <dd></dd>
    1.50 +            <dt>long radiusY</dt> <dd></dd>
    1.51 +            <dt>float rotationAngle</dt> <dd></dd>
    1.52 +            <dt>float force</dt> <dd></dd>
    1.53 +          </dl>
    1.54 +        </dd>
    1.55        </dl>
    1.56  
    1.57        <p class="issue" id="issue-preventDefault"><strong>Issue:</strong> define behavior of preventDefault() method.</p>