Skip to content

Documentation / jalali-js / shiftEventViewAnchor

Function: shiftEventViewAnchor() ​

shiftEventViewAnchor(system, view, anchor, direction): CalendarDateFields

Defined in: event-calendar.ts:214

Move the anchor by one month, week, or day. Timeline keeps the same anchor.

Parameters ​

system ​

CalendarSystem

view ​

EventCalendarView

anchor ​

CalendarDateFields

direction ​

-1 | 1

Returns ​

CalendarDateFields