DatDot vanilla js UI component
{name = 'calendar-days', month, days, year, status, value, start_cal, theme = ``}
calendar_days.help()
returns opts & the defaults for calendar-days component
click
returns onclick(contacts.by_name[name].pos)clear
returns clear_self()selecting-second
returns colorRange(0, current_state.opts.value)first-selected-by-startcal
returns setStatus('first-selected-by-startcal`first-selected-by-endcal
returns setStatus('first-selected-by-endcal`second-selected
returns setStatus('second-selected-by-other`color-from-start
returns colorRange(0, current_state.opts.value)color-to-end
returns colorRange(current_state.opts.value, days + 1)update
returns update_cal(data)
parent
clear
value-first
value-second
status
selecting-second