跳转到主要内容

addEventNow

Description

创建一个新的事件并打开lightbox进行确认

addEventNow: (event: any) => string

Parameters

  • event - (required) object - 事件详情对象

Returns

  • id - (string) - 事件的唯一标识符

Example

scheduler.addEventNow();
//或者
scheduler.addEventNow({
start_date: new Date(2013,0,10,8,30),
end_date: new Date(2013,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.