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:
@@ -37,9 +37,10 @@ ol.source.SourceOptions;
|
||||
* instantiated in apps.
|
||||
* Base class for {@link ol.layer.Layer} sources.
|
||||
*
|
||||
* A generic `change` event is triggered when the state of the source changes.
|
||||
*
|
||||
* @constructor
|
||||
* @extends {ol.Object}
|
||||
* @fires change Triggered when the state of the source changes.
|
||||
* @param {ol.source.SourceOptions} options Source options.
|
||||
* @api stable
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user