mixin
Description
Adds properties of the 'source' object into the 'target' object
mixin: (target: CustomObject, source: CustomObject, force?: boolean) => void
Parameters
target- (erforderlich) CustomObject - das Zielobjektsource- (erforderlich) CustomObject - das Quellobjektforce- (optional) boolean - optional, falls true, überschreiben Eigenschaften des 'source' die passenden Eigenschaften des 'target', falls vorhanden. Falls false (Standard), Eigenschaften, die bereits im 'target' existieren, werden ausgelassen
Example
gantt.mixin(target, source, force);
Change log
- in Version 4.0 hinzugefügt
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.