Clarify that any option keys can be used

Fixes #4001.
This commit is contained in:
Per Liedman 2017-10-26 22:32:01 +02:00
parent d9846d106b
commit fb613bcaed

View File

@ -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