Skip to main content

mixin

Description​

Adds properties of the 'source' object into the 'target' object

mixin: (target: any, source: any, force: boolean) => void

Parameters​

  • target - (required) object - the target object
  • source - (required) object - the source object
  • force - (required) boolean - if true, properties of the 'source' will overwrite the matching properties of the 'target', if there are any. If false, the properties that already exist in the 'target' will be omitted

Example​

scheduler.mixin(target, source, force);

Change log​

  • added in version 6.0
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.