Clarify that any option keys can be used

Fixes #4001.
carto
Per Liedman 7 years ago
parent d9846d106b
commit fb613bcaed

@ -133,6 +133,12 @@ var a = new MyClass({bla: 10});
a.options; // {foo: 'bar', bla: 10}
```
Note that the options object allows any keys, not just
the options defined by the class and its base classes.
This means you can use the options object to store
application specific information, as long as you avoid
keys that are already used by the class in question.
@section Includes
@example

Loading…
Cancel
Save