本文へ移動

@eightkk/vue-weave / core / eventCalendarRange

Function: eventCalendarRange() ​

eventCalendarRange(view, date, options?): TimeRange

Defined in: src/core/eventCalendar.ts:329

The half-open time range a view shows around date: the local day, the week that contains it (from weekStartsOn), or the whole weeks of the month grid, including the leading and trailing days of the neighbouring months. agenda covers the same week as week, or with agendaDays that many local days from the day of date. Load the events that overlap this range. Throws RangeError for an unknown view, a non-finite date, an invalid weekStartsOn, agendaDays or time zone.

Parameters ​

view ​

EventCalendarViewName

date ​

number

options? ​

EventCalendarOptions

Returns ​

TimeRange

MIT ライセンスで公開しています。