Перейти к основному содержимому

onLightboxChange

Description

Срабатывает, когда структура lightbox изменяется

onLightboxChange: (old_type: string, new_type: string) => void;

Parameters

  • old_type - (required) string - имя исходной структуры lightbox
  • new_type - (required) string - имя новой структуры lightbox

Example

gantt.attachEvent("onLightboxChange", function(old_type, new_type){
if(new_type == "milestone"){
alert("Вы изменили тип вашей задачи на 'milestone'")
}
});
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.