본문으로 건너뛰기

mixin

Description

source 객체의 속성을 'target' 객체에 추가합니다

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

Parameters

  • target - (required) CustomObject - 대상 객체
  • source - (required) CustomObject - 소스 객체
  • force - (optional) boolean - 선택적이며, 참일 경우 'source'의 속성이 'target'의 일치하는 속성을 덮어씁니다. 거짓일 경우(기본값) 'target'에 이미 존재하는 속성은 생략됩니다

Example

gantt.mixin(target, source, force);

Change log

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