Module type for ol.CollectionEvent
This commit is contained in:
@@ -8,13 +8,13 @@
|
|||||||
export default {
|
export default {
|
||||||
/**
|
/**
|
||||||
* Triggered when an item is added to the collection.
|
* Triggered when an item is added to the collection.
|
||||||
* @event module:ol/CollectionEvent~CollectionEvent#add
|
* @event module:ol/Collection~CollectionEvent#add
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
ADD: 'add',
|
ADD: 'add',
|
||||||
/**
|
/**
|
||||||
* Triggered when an item is removed from the collection.
|
* Triggered when an item is removed from the collection.
|
||||||
* @event module:ol/CollectionEvent~CollectionEvent#remove
|
* @event module:ol/Collection~CollectionEvent#remove
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
REMOVE: 'remove'
|
REMOVE: 'remove'
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ LayerGroup.prototype.handleLayersChanged_ = function(event) {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {ol.CollectionEvent} collectionEvent CollectionEvent.
|
* @param {module:ol/Collection~CollectionEvent} collectionEvent CollectionEvent.
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
LayerGroup.prototype.handleLayersAdd_ = function(collectionEvent) {
|
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
|
* @private
|
||||||
*/
|
*/
|
||||||
LayerGroup.prototype.handleLayersRemove_ = function(collectionEvent) {
|
LayerGroup.prototype.handleLayersRemove_ = function(collectionEvent) {
|
||||||
|
|||||||
Reference in New Issue
Block a user