From 946ef8878d2121eac46279c7210d41c84dd12429 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Thu, 10 Sep 2015 15:47:06 +0200 Subject: [PATCH] Export ol.Observable#dispatchEvent function --- src/ol/observable.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/ol/observable.js b/src/ol/observable.js index d5e409e550..f27b917006 100644 --- a/src/ol/observable.js +++ b/src/ol/observable.js @@ -61,6 +61,18 @@ ol.Observable.prototype.changed = function() { */ +/** + * Dispatches an event and calls all listeners listening for events + * of this type. The event parameter can either be a string or an + * Object with a `type` property. + * + * @param {goog.events.EventLike} event Event object. + * @function + * @api + */ +ol.Observable.prototype.dispatchEvent; + + /** * Get the version number for this object. Each time the object is modified, * its version number will be incremented.