Improve Collection docs
This commit is contained in:
@@ -66,10 +66,15 @@ ol.CollectionProperty = {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @classdesc
|
* @classdesc
|
||||||
* Adds methods to standard Array; changes (add/remove) to the Collection
|
* An expanded version of standard JS Array, adding convenience methods for
|
||||||
* trigger events. Because a Collection is itself an {@link ol.Object}, it
|
* manipulation. Add and remove changes to the Collection trigger a Collection
|
||||||
* can be bound to any other Object or Collection such that a change in one
|
* event. Note that this does not cover changes to the objects _within_ the
|
||||||
* will automatically be reflected in the other.
|
* Collection; they trigger events on the appropriate object, not on the
|
||||||
|
* Collection as a whole.
|
||||||
|
*
|
||||||
|
* Because a Collection is itself an {@link ol.Object}, it can be bound to any
|
||||||
|
* other Object or Collection such that a change in one will automatically be
|
||||||
|
* reflected in the other.
|
||||||
*
|
*
|
||||||
* @constructor
|
* @constructor
|
||||||
* @extends {ol.Object}
|
* @extends {ol.Object}
|
||||||
|
|||||||
Reference in New Issue
Block a user