MCPcopy Create free account
hub / github.com/HtmlUnit/htmlunit / getEvent

Method getEvent

src/main/java/org/htmlunit/javascript/host/Window.java:370–376  ·  view source on GitHub ↗

Returns the current event. @return the current event, or null if no event is currently available

()

Source from the content-addressed store, hash-verified

368 * @return the current event, or {@code null} if no event is currently available
369 */
370 @JsxGetter
371 public Object getEvent() {
372 if (currentEvent_ == null) {
373 return JavaScriptEngine.UNDEFINED;
374 }
375 return currentEvent_;
376 }
377
378 /**
379 * Returns the current event (used internally regardless of the emulation mode).

Callers 6

wrappedFnFunction · 0.80
ext-base.jsFile · 0.80
NFunction · 0.80
yui-utilities.jsFile · 0.80
OFunction · 0.80
ext-base.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected