Added clearer documentation

This commit is contained in:
Simon Seyock
2020-10-27 09:35:38 +01:00
parent 1bafab49f5
commit 9b6114b768

View File

@@ -46,15 +46,15 @@ export class VectorSourceEvent extends Event {
super(type);
/**
* The feature being added or removed.
* The added or removed feature for the `ADDFEATURE` and `REMOVEFEATURE` events, `undefined` otherwise.
* @type {import("../Feature.js").default<Geometry>|undefined}
* @api
*/
this.feature = opt_feature;
/**
* The features being loaded.
* @type {Array<import("../Feature.js").default<Geometry>>}
* The loaded features for the `FEATURESLOADED` event, `undefined` otherwise.
* @type {Array<import("../Feature.js").default<Geometry>>|undefined}
* @api
*/
this.features = opt_features;