added definition for initCustomEvent
authorschepers
Mon, 20 Jul 2009 18:01:50 +0900
changeset 129 ab7c8421b2ee
parent 128 74bb1ff47ea8
child 130 c171b038e107
added definition for initCustomEvent
html/DOM3-Events.html
--- a/html/DOM3-Events.html	Mon Jul 20 14:05:02 2009 +0900
+++ b/html/DOM3-Events.html	Mon Jul 20 18:01:50 2009 +0900
@@ -778,9 +778,9 @@
 interface <a class="noxref" href="#events-Events-CustomEvent">CustomEvent</a> : <a class="noxref" href="#events-Events-Event">Event</a> {
   readonly attribute DOMObject         <a class="noxref" href="#events-Events-CustomEvent-detail">detail</a>;
   void               <a class="noxref" href="#events-Events-Event-initCustomEvent">initCustomEvent</a>(in DOMString typeArg, 
-                                       in boolean canBubbleArg, 
-                                       in boolean cancelableArg, 
-                                       in DOMObject detailArg);
+                                     in boolean canBubbleArg, 
+                                     in boolean cancelableArg, 
+                                     in DOMObject detailArg);
   void               <a class="noxref" href="#events-Events-Event-initCustomEventNS">initCustomEventNS</a>(in DOMString namespaceURIArg, 
                                        in DOMString typeArg, 
                                        in boolean canBubbleArg, 
@@ -808,6 +808,37 @@
               <dd>
                 <dl>
                   <dt><code class="method-name">
+                      <a id="events-Events-Event-initCustomEvent">initCustomEvent</a>
+                    </code>
+                  </dt>
+                  <dd>
+                    <div class="method">Initializes attributes of a <code>CustomEvent</code> object. This method has the same behavior as <a href="#events-Events-Event-initEvent"><code>Event.initEvent()</code></a>.
+        <div class="parameters">
+                        <strong>Parameters</strong>
+                        <div class="paramtable">
+                          <dl>
+                            <dt><code class="parameter-name">typeArg</code> of type <code>DOMString</code></dt>
+                            <dd>Refer to the <a href="#events-Events-Event-initEvent"><code>Event.initEvent()</code></a> method for a description of this parameter.<br/></dd>
+                            <dt><code class="parameter-name">canBubbleArg</code> of type <code>boolean</code></dt>
+                            <dd>Refer to the <a href="#events-Events-Event-initEvent"><code>Event.initEvent()</code></a> method for a description of this parameter.<br/></dd>
+                            <dt><code class="parameter-name">cancelableArg</code> of type <code>boolean</code></dt>
+                            <dd>Refer to the <a href="#events-Events-Event-initEvent"><code>Event.initEvent()</code></a> method for a description of this parameter.<br/></dd>
+                            <dt><code class="parameter-name">detailArg</code> of type <code>DOMObject</code></dt>
+                            <dd>Specifies <a href="#events-Events-CustomEvent-detail"><code>CustomEvent.detail</code></a>. This value may be <code>null</code>.<br/></dd>
+                          </dl>
+                        </div>
+                      </div>
+                      <!-- parameters -->
+                      <div>
+                        <strong>No Return Value</strong>
+                      </div>
+                      <div>
+                        <strong>No Exceptions</strong>
+                      </div>
+                    </div>
+                    <!-- method -->
+                  </dd>
+                  <dt><code class="method-name">
                       <a name="events-Events-Event-initCustomEventNS" id="events-Events-Event-initCustomEventNS">initCustomEventNS</a>
                     </code>
                   </dt>
@@ -5896,6 +5927,10 @@
   // Introduced in DOM Level 3:
   interface <a class="noxref" href="#events-Events-CustomEvent">CustomEvent</a> : <a class="noxref" href="#events-Events-Event">Event</a> {
     readonly attribute DOMObject       <a class="noxref" href="#events-Events-CustomEvent-detail">detail</a>;
+    void               <a class="noxref" href="#events-Events-Event-initCustomEvent">initCustomEvent</a>(in DOMString typeArg, 
+                                       in boolean canBubbleArg, 
+                                       in boolean cancelableArg, 
+                                       in DOMObject detailArg);
     void               <a class="noxref" href="#events-Events-Event-initCustomEventNS">initCustomEventNS</a>(in DOMString namespaceURIArg, 
                                          in DOMString typeArg, 
                                          in boolean canBubbleArg,