Module type for ol.CollectionEvent

This commit is contained in:
Frederic Junod
2018-03-19 16:29:32 +01:00
parent 5173970f53
commit 38eb1494eb
2 changed files with 4 additions and 4 deletions

View File

@@ -8,13 +8,13 @@
export default {
/**
* Triggered when an item is added to the collection.
* @event module:ol/CollectionEvent~CollectionEvent#add
* @event module:ol/Collection~CollectionEvent#add
* @api
*/
ADD: 'add',
/**
* Triggered when an item is removed from the collection.
* @event module:ol/CollectionEvent~CollectionEvent#remove
* @event module:ol/Collection~CollectionEvent#remove
* @api
*/
REMOVE: 'remove'

View File

@@ -121,7 +121,7 @@ LayerGroup.prototype.handleLayersChanged_ = function(event) {
/**
* @param {ol.CollectionEvent} collectionEvent CollectionEvent.
* @param {module:ol/Collection~CollectionEvent} collectionEvent CollectionEvent.
* @private
*/
LayerGroup.prototype.handleLayersAdd_ = function(collectionEvent) {
@@ -136,7 +136,7 @@ LayerGroup.prototype.handleLayersAdd_ = function(collectionEvent) {
/**
* @param {ol.CollectionEvent} collectionEvent CollectionEvent.
* @param {module:ol/Collection~CollectionEvent} collectionEvent CollectionEvent.
* @private
*/
LayerGroup.prototype.handleLayersRemove_ = function(collectionEvent) {