Alien-GvaScript

 view release on metacpan or  search on metacpan

doc/html/ProtoExtensions.html  view on Meta::CPAN

<p>if true, the default behaviour of the browser
for that event will be cancelled</p>
</li>
</ul>

    </div>
  </div>
  <div class="TN_node" id="stopAll">
    <h4 class="TN_label">stopAll</h4>
    <div class="TN_content">
      <p>Just a convenience object, having both properties
above set to true. So</p>
<pre>  Event.detailedStop(event, Event.stopAll);</pre>

<p>is equivalent to calling prototype's <code>Event.stop(event)</code>.</p>

    </div>
  </div>

    </div>
  </div>
  <div class="TN_node" id="Class_extensions">
    <h3 class="TN_label">Class extensions</h3>
    <div class="TN_content">
        <div class="TN_node" id="checkOptions">
    <h4 class="TN_label">checkOptions</h4>
    <div class="TN_content">
      <pre>  this.options = Class.checkOptions(defaultOptions, ctorOptions)</pre>

<p>Utility for constructor methods. The first argument is an object
containing a collection of default options (keys and values).
The second argument is a similar object, containing options
given to the constructor.</p>
<p>If one of the keys in <code>ctorOptions</code> has no corresponding
key in  <code>defaultOptions</code>, an error is generated (because
the constructor does not expect such a key). Otherwise,
the concatenation of both objects is returned (i.e. values
in <code>ctorOptions</code> take precedence over values in 
<code>defaultOptions</code>).</p>

    </div>
  </div>

    </div>
  </div>
  <div class="TN_node" id="ASSERT">
    <h3 class="TN_label">ASSERT</h3>
    <div class="TN_content">
      <pre>  ASSERT (cond, msg);</pre>

<p>Checks if <code>cond</code> is true, and if not, generates an error 
with message <code>msg</code>.</p>

    </div>
  </div>
  <div class="TN_node" id="CSSPREFIX">
    <h3 class="TN_label">CSSPREFIX</h3>
    <div class="TN_content">
      <pre>  CSSPREFIX ();</pre>

<p>Returns value of <code>CSS_PREFIX</code> global variable if found. If not,
default to 'gva'.</p>
<p>This value is used to prefix css classnames of html elements that are
derived in some GvaScript classes.</p>

    </div>
  </div>

    </div>
  </div>

</div>
</body>
</html>



( run in 0.465 second using v1.01-cache-2.11-cpan-efa8479b9fe )