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

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.