forked from primefaces/primereact
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEventService.js
More file actions
22 lines (21 loc) · 1.09 KB
/
EventService.js
File metadata and controls
22 lines (21 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
export const EventService = {
getData() {
return [
{ id: 1, title: 'All Day Event', start: '2017-02-01' },
{ id: 2, title: 'Long Event', start: '2017-02-07', end: '2017-02-10' },
{ id: 3, title: 'Repeating Event', start: '2017-02-09T16:00:00' },
{ id: 4, title: 'Repeating Event', start: '2017-02-16T16:00:00' },
{ id: 5, title: 'Conference', start: '2017-02-11', end: '2017-02-13' },
{ id: 6, title: 'Meeting', start: '2017-02-12T10:30:00', end: '2017-02-12T12:30:00' },
{ id: 7, title: 'Lunch', start: '2017-02-12T12:00:00' },
{ id: 8, title: 'Meeting', start: '2017-02-12T14:30:00' },
{ id: 9, title: 'Happy Hour', start: '2017-02-12T17:30:00' },
{ id: 10, title: 'Dinner', start: '2017-02-12T20:00:00' },
{ id: 11, title: 'Birthday Party', start: '2017-02-13T07:00:00' },
{ id: 12, title: 'Click for Google', url: 'https://www.google.com/', start: '2017-02-28' }
];
},
getEvents() {
return Promise.resolve(this.getData());
}
};