Fórum

Scheduler Event Repeated

Andrea Boggia, modificado 7 Anos atrás.

Scheduler Event Repeated

New Member Mensagem: 1 Data de Entrada: 06/04/17 Postagens Recentes
Hi, I'm new on working with Alloy UI and currently trying to use Alloy UI scheduler.
I want to show an event that have to be repeated every month.
It's possible to add only one event and configure the scheduler so that it is repeated every month?

For example, something like:
-------------------------------------------------------
......
var event = {
content: 'My Event',
endDate: new Date(2017, 1, 4, 8),
startDate: new Date(2017, 1, 4, 18),
repeated: true, //this property is from API docs
interval:'month', //this last 2 properties is something I would like to have
every: 1 //
}

new Y.Scheduler(
{
boundingBox: '#myScheduler',
date: new Date(),
items: [event],
render: true,
views: [weekView]
}
);
-------------------------------------------------------

Thanks