Allow custom properties in the constructor using the properties option

This commit is contained in:
Andreas Hocevar
2021-05-24 23:23:51 +02:00
parent 7511d9c324
commit 432bd7f851
13 changed files with 27 additions and 0 deletions
+1
View File
@@ -35,6 +35,7 @@ import {getChangeEventType} from '../Object.js';
* attribute to use for the weight or a function that returns a weight from a feature. Weight values
* should range from 0 to 1 (and values outside will be clamped to that range).
* @property {import("../source/Vector.js").default} [source] Source.
* @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
*/
/**