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

addEventNow

Description

Добавляет новое событие и открывает lightbox для подтверждения

addEventNow: (event: any) => string

Parameters

  • event - (required) объект - объект события

Returns

  • id - (string) - идентификатор события

Example

scheduler.addEventNow();
//или
scheduler.addEventNow({
start_date: new Date(2027,0,10,8,30),
end_date: new Date(2027,0,10,10,30),
text: "Meeting",
holder: "John", //userdata
room: "5" //userdata
});

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.