June 2016
Intermediate to advanced
910 pages
18h 59m
English
For the more basic type of calendar entry, the kind that only happens once, we collect the date, month, and year, defaulting to the current date's values. Some things are "all-day" events for that day, such as someone's birthday; others start at a specific time. The interface could possibly be expanded to include optional end time. This functionality would be an extension of the same principles demonstrated here.
We begin to see the UI for rendering basic entries:
render_basic_entry: function(entry) { var result = []; var all_day = false; var hour_options = [[0, '12AM'], [1, '1AM'], [2, '2AM'], [3, '3AM'], [4, '4AM'], [5, '5AM'], [6, '6AM'], [7, '7AM'], [8, '8AM'], [9, '9AM'], [10, '10AM'], [11, '11AM'], ...Read now
Unlock full access