ACTION-5: Expand/Collapse
authorJames Craig <jcraig@apple.com>
Tue, 16 Oct 2012 21:09:27 -0700
changeset 3 f9c37160629e
parent 2 aba80041ed8d
child 4 7f84811c9874
ACTION-5: Expand/Collapse
src/events.html
--- a/src/events.html	Tue Oct 16 19:05:03 2012 -0700
+++ b/src/events.html	Tue Oct 16 21:09:27 2012 -0700
@@ -51,6 +51,8 @@
   const unsigned short    REDO     =  2;
   const unsigned short    DISMISS  =  3;
   const unsigned short    DELETE   =  4;
+  const unsigned short    EXPAND   =  5;
+  const unsigned short    COLLAPSE =  6;
   <span class="comment">// expect more type constants will be added for other event types…</span>
   <span class="comment">// ZOOM_IN / ZOOM_OUT ? perhaps that should just be slider widget, covered under ValueChangeRequest</span>
   
@@ -104,6 +106,24 @@
 							<li>Context Info: <code>eventType</code></li>
 						</ul>
 					</dd>
+					<dt><code class="event">ExpandRequest</code></dt>
+					<dd>
+						<p>Initiated when the user agent or assistive technology conveys intent to reveal information in a collapsed section (e.g. a disclosure widget) or branch node in a hierarchy (e.g., a tree view).</p>
+						<ul>
+							<li>Bubbles: Yes</li>
+							<li>Cancelable: Yes</li>
+							<li>Context Info: <code>eventType</code></li>
+						</ul>
+					</dd>
+					<dt><code class="event">CollapseRequest</code></dt>
+					<dd>
+						<p>Initiated when the user agent or assistive technology conveys intent to hide or collapse information in an expanded section (e.g. a disclosure widget) or branch node in a hierarchy (e.g., a tree view).</p>
+						<ul>
+							<li>Bubbles: Yes</li>
+							<li>Cancelable: Yes</li>
+							<li>Context Info: <code>eventType</code></li>
+						</ul>
+					</dd>
 				</dl> 
 				<div class="example" title="Informative">
 					<h4>Examples</h4>