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

onViewChange

Description

Срабатывает после переключения текущего вида на другой

onViewChange: (new_mode: string, new_date: object) => void

Parameters

  • new_mode - (required) string - обновленный вид
  • new_date - (required) object - обновленная дата

Example

scheduler.attachEvent("onViewChange", function (new_mode , new_date){
//любая пользовательская логика здесь
});

Details

Это событие вызывается всякий раз, когда текущий вид обновляется.

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.