Document change events properly
With this change, the generic 'change' event is properly documented, as all other events. It is no longer necessary to annotate `@fires change` for every ol.Observable subclass.
This commit is contained in:
@@ -50,9 +50,11 @@ ol.geom.GeometryLayout = {
|
||||
* instantiated in apps.
|
||||
* Base class for vector geometries.
|
||||
*
|
||||
* To get notified of changes to the geometry, register a listener for the
|
||||
* generic `change` event on your geometry instance.
|
||||
*
|
||||
* @constructor
|
||||
* @extends {ol.Object}
|
||||
* @fires change Triggered when the geometry changes.
|
||||
* @api stable
|
||||
*/
|
||||
ol.geom.Geometry = function() {
|
||||
|
||||
Reference in New Issue
Block a user