selenium-webdriver
Version:
The official WebDriver JavaScript bindings from the Selenium project
6 lines (5 loc) • 5.73 kB
HTML
<meta charset="UTF-8"><meta http-equiv="Content-Language" content="en" /><title>goog.testing.events.Event</title><link href="dossier.css" rel="stylesheet" type="text/css"><div id="main-wrapper"><input type="checkbox" id="sidenav-toggle" /><main><header><h1>Class goog.testing.events.Event</h1><a class="source" href="source/lib/goog/testing/events/events.js.src.html#l65">code »</a><pre><code>Event
└ goog.testing.events.Event</code></pre></header><section><p>goog.events.BrowserEvent expects an Event so we provide one for JSCompiler.
This clones a lot of the functionality of goog.events.Event. This used to
use a mixin, but the mixin results in confusing the two types when compiled.<h2>Constructor</h2><div class="ctor wrap-details public"><div><div class="ctor"><span class="member">goog.testing.events.Event <span class="args">( type, opt_target )</span></span></div><div class="info"><table><tbody><tr><th>Parameters<tr><td><dl><dt>type: <code class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></code><dd>Event Type.<dt>opt_target: <code class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object">Object</a>=</code><dd>Reference to the object that is the target of
this event.</dl></table></div></div></div></section><div id="visibility-controls"><b>Show:</b><label for="show-public"><span><input type="checkbox" id="show-public" checked/></span>Public</label><label for="show-protected"><span><input type="checkbox" id="show-protected"/></span>Protected</label><label for="show-private"><span><input type="checkbox" id="show-private"/></span>Private</label></div><section id="instance-methods"><h2>Instance Methods</h2><h3>Defined in <code class="type">goog.testing.events.Event</code></h3><div class="wrap-details public"><div><details class="function"><summary><div><a class="source" href="source/lib/goog/testing/events/events.js.src.html#l105">code »</a><span class="member"><a name="preventDefault">preventDefault</a> <span class="args">( )</span></span></div></summary></details></div></div><div class="wrap-details public"><div><details class="function"><summary><div><a class="source" href="source/lib/goog/testing/events/events.js.src.html#l99">code »</a><span class="member"><a name="stopPropagation">stopPropagation</a> <span class="args">( )</span></span></div></summary></details></div></div><h3>Defined in <code class="type">Event</code></h3><div class="wrap-details public"><div><details class="function"><summary><div><a class="source" href="source/../../../../externs.zip/w3c_event.js.src.html#l129">code »</a><span class="member"><a name="initEvent">initEvent</a> <span class="args">( eventTypeArg, canBubbleArg, cancelableArg )</span> ⇒ <code class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Undefined">undefined</a></code></span></div></summary><div class="info"><table><tbody><tr><th>Parameters<tr><td><dl><dt>eventTypeArg<dt>canBubbleArg<dt>cancelableArg</dl></table></div></details></div></div><div class="wrap-details public"><div><details class="function"><summary><div><a class="source" href="source/../../../../externs.zip/w3c_event3.js.src.html#l63">code »</a><span class="member"><a name="stopImmediatePropagation">stopImmediatePropagation</a> <span class="args">( )</span> ⇒ <code class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Undefined">undefined</a></code></span></div></summary></details></div></div></section><section id="instance-properties"><h2>Instance Properties</h2><h3>Defined in <code class="type">goog.testing.events.Event</code></h3><div class="wrap-details public"><div><details><summary><div><a class="source" href="source/lib/goog/testing/events/events.js.src.html#l81">code »</a><span class="member"><a name="propagationStopped_">propagationStopped_</a> : <code class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean">boolean</a></code></span></div><p>Whether to cancel the event in internal capture/bubble processing for IE.</summary></details></div></div><div class="wrap-details public"><div><details><summary><div><a class="source" href="source/lib/goog/testing/events/events.js.src.html#l95">code »</a><span class="member"><a name="returnValue_">returnValue_</a> : <code class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean">boolean</a></code></span></div><p>Return value for in internal capture/bubble processing for IE.</summary></details></div></div></section></main><nav id="topnav"><div><div id="menubutton"><label for="sidenav-toggle">Menu</label></div><form id="searchbox"><div><input type="search" placeholder="Search" tabindex="1"></div></form></div></nav><nav id="sidenav"><input type="checkbox" id="sidenav-types-ctrl" /><input type="checkbox" id="sidenav-files-ctrl" /><input type="checkbox" id="sidenav-modules-ctrl" /><a id="sidenav-overview"><div><h4>Overview</h4></div></a><div id="sidenav-types"><label for="sidenav-types-ctrl"><h4>Types</h4></label><i>Loading</i></div><div id="sidenav-modules"><label for="sidenav-modules-ctrl"><h4>Modules</h4></label><i>Loading</i></div><div id="sidenav-files"><label for="sidenav-files-ctrl"><h4>Files</h4></label><i>Loading</i></div><a href="license.html"><div><h4>License</h4></div></a></nav><div id="push-footer"></div></div><footer><a href="https://github.com/jleyba/js-dossier">Generated by dossier</a></footer><script src="types.js"></script><script src="dossier.js"></script>