The mixin utility assigns the properties of a set of 'mixin' objects to the prototype of a parent object.
mixin
class MyClass extends mixin(ExistingClass, evented, etc) {}
A new class that extends Parent and contains the mixins.
The class to extend the new class from.
Rest
The objects to mix in.
Generated using TypeDoc v0.23.24
The
mixin
utility assigns the properties of a set of 'mixin' objects to the prototype of a parent object.Example
Returns
A new class that extends Parent and contains the mixins.