Path: blob/trunk/third_party/closure/goog/events/eventlike.js
4122 views
/**1* @license2* Copyright The Closure Library Authors.3* SPDX-License-Identifier: Apache-2.04*/56/**7* @fileoverview A typedef for event like objects that are dispatchable via the8* goog.events.dispatchEvent function.9*/10goog.provide('goog.events.EventLike');1112goog.requireType('goog.events.Event');13goog.requireType('goog.events.EventId');1415/**16* A typedef for event like objects that are dispatchable via the17* goog.events.dispatchEvent function. strings are treated as the type for a18* goog.events.Event. Objects are treated as an extension of a new19* goog.events.Event with the type property of the object being used as the type20* of the Event.21* @typedef {string|Object|goog.events.Event|goog.events.EventId}22*/23goog.events.EventLike;242526