mixin

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

void mixin(CustomObject target,CustomObject source, [boolean force] );
targetCustomObject새로운 속성을 받을 객체
sourceCustomObject추가할 속성을 제공하는 객체
forceboolean선택 사항으로, true일 경우 'source'의 속성이 'target'에 동일한 키가 있을 때 덮어씁니다. 기본값은 false로, 'target'의 기존 속성은 변경되지 않습니다.

Example

gantt.mixin(target, source, force);

Change log

4.0 버전에 추가됨

Back to top