Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
SeleniumHQ
GitHub Repository: SeleniumHQ/Selenium
Path: blob/trunk/third_party/closure/goog/events/eventlike.js
4122 views
1
/**
2
* @license
3
* Copyright The Closure Library Authors.
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
/**
8
* @fileoverview A typedef for event like objects that are dispatchable via the
9
* goog.events.dispatchEvent function.
10
*/
11
goog.provide('goog.events.EventLike');
12
13
goog.requireType('goog.events.Event');
14
goog.requireType('goog.events.EventId');
15
16
/**
17
* A typedef for event like objects that are dispatchable via the
18
* goog.events.dispatchEvent function. strings are treated as the type for a
19
* goog.events.Event. Objects are treated as an extension of a new
20
* goog.events.Event with the type property of the object being used as the type
21
* of the Event.
22
* @typedef {string|Object|goog.events.Event|goog.events.EventId}
23
*/
24
goog.events.EventLike;
25
26