본문으로 건너뛰기

mixin

Description

'source' 객체의 속성을 'target' 객체에 병합합니다.

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

Parameters

  • target - (required) object - 새로운 속성을 받을 객체
  • source - (required) object - 추가할 속성을 제공하는 객체
  • force - (required) boolean - 참일 경우, 'source'의 속성이 'target'에 있는 기존 속성을 덮어씀; 거짓일 경우, 기존 'target' 속성은 변경되지 않음

Example

scheduler.mixin(target, source, force);

Change log

  • 버전 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.