Type Aliases
Action
Action
: { type
: "NOTHING" } | { optionName
: string; rawOptionValue
: any; type
: "SET_OPTION" } | { type
: "PREV" } | { type
: "NEXT" } | { dateMarker
: DateMarker; type
: "CHANGE_DATE" } | { dateMarker
?: DateMarker; type
: "CHANGE_VIEW_TYPE"; viewType
: string } | { selection
: DateSpan; type
: "SELECT_DATES" } | { type
: "UNSELECT_DATES" } | { eventInstanceId
: string; type
: "SELECT_EVENT" } | { type
: "UNSELECT_EVENT" } | { state
: EventInteractionState; type
: "SET_EVENT_DRAG" } | { type
: "UNSET_EVENT_DRAG" } | { state
: EventInteractionState; type
: "SET_EVENT_RESIZE" } | { type
: "UNSET_EVENT_RESIZE" } | { sources
: EventSource<any>[]; type
: "ADD_EVENT_SOURCES" } | { sourceId
: string; type
: "REMOVE_EVENT_SOURCE" } | { type
: "REMOVE_ALL_EVENT_SOURCES" } | { isRefetch
?: boolean; sourceIds
?: string[]; type
: "FETCH_EVENT_SOURCES" } | { fetchId
: string; fetchRange
: DateRange | null; rawEvents
: EventInput[]; sourceId
: string; type
: "RECEIVE_EVENTS" } | { error
: EventSourceError; fetchId
: string; fetchRange
: DateRange | null; sourceId
: string; type
: "RECEIVE_EVENT_ERROR" } | { eventStore
: EventStore; type
: "ADD_EVENTS" } | { eventStore
: EventStore; type
: "RESET_EVENTS" } | { eventStore
: EventStore; type
: "MERGE_EVENTS" } | { eventStore
: EventStore; type
: "REMOVE_EVENTS" } | { type
: "REMOVE_ALL_EVENTS" }AllowFunc
Type declaration
Parameters
Returns boolean
CalendarListeners
CalendarListeners: Required<CalendarListenersLoose>
ClassNamesGenerator
ClassNamesGenerator<HookProps>: ClassNamesInput | ((hookProps: HookProps) => ClassNamesInput)
Type Parameters
ComponentChild
ComponentChild: VNode<any> | object | string | number | bigint | boolean | null | undefined
ComponentType
ComponentType<P>: ComponentClass<P> | FunctionComponent<P>
Type Parameters
Constraint
Constraint
: "businessHours" | string | EventStore | falseCssDimValue
CssDimValue: string | number
CustomContentGenerator
CustomContentGenerator<HookProps>: CustomContent | ((hookProps: HookProps) => CustomContent)
Type Parameters
DateInput
Date
Input
: Date | string | number | number[]DatesSetArg
Dates
Set
Arg
: RangeApiWithTimeZone & { view
: ViewApi }Dictionary
Dictionary: Record<string, any>
DidMountHandler
DidMountHandler<TheMountArg>: ((mountArg: TheMountArg) => void)
Type Parameters
TheMountArg extends { el: HTMLElement }
Type declaration
- (mountArg: TheMountArg): void
DurationInput
DurationInput: DurationObjectInput | string | number
EventDefHash
EventDefHash: {}
EventInstanceHash
EventInstanceHash: {}
EventSourceFunc
Event
Source
Func
: ((arg
: { end
: Date; endStr
: string; start
: Date; startStr
: string; timeZone
: string }, successCallback
: ((events
: EventInput[]) => void), failureCallback
: ((error
: EventSourceError) => void)) => void | PromiseLike<EventInput[]>)Type declaration
- (arg: { end: Date; endStr: string; start: Date; startStr: string; timeZone: string }, successCallback: ((events: EventInput[]) => void), failureCallback: ((error: EventSourceError) => void)): void | PromiseLike<EventInput[]>
Parameters
arg: { end: Date; endStr: string; start: Date; startStr: string; timeZone: string }
endStr: string
startStr: string
timeZone: string
successCallback: ((events: EventInput[]) => void)
failureCallback: ((error: EventSourceError) => void)
- (error: EventSourceError): void
Returns void | PromiseLike<EventInput[]>
EventSourceHash
EventSourceHash: {}
EventUiHash
EventUiHash: {}
FormatterInput
FormatterInput: NativeFormatterOptions | string | FuncFormatterFunc
Identity
Identity<T>: ((raw: T) => T)
Type Parameters
InteractionSettingsStore
InteractionSettingsStore: {}
MemoiseArrayFunc
MemoiseArrayFunc<Args, Res>: ((argSets: Args[]) => Res[])
Type Parameters
MemoizeHashFunc
MemoizeHashFunc<Args, Res>: ((argHash: {}) => {})
Type Parameters
MoreLinkSimpleAction
MoreLinkSimpleAction: "popover" | "week" | "day" | "timeGridWeek" | "timeGridDay" | string
MountArg
MountArg<ContentArg>: ContentArg & { el: HTMLElement }
Type Parameters
OverflowValue
OverflowValue: "auto" | "hidden" | "scroll" | "visible"
OverlapFunc
Type declaration
Parameters
Returns boolean
RawOptionsFromRefiners
RawOptionsFromRefiners<Refiners>: { [ Prop in keyof Refiners]?: Refiners[Prop] extends ((input: infer RawType) => infer RefinedType) ? any extends RawType ? RefinedType : RawType : never }
Type Parameters
Refiners extends GenericRefiners
RefObject
RefObject<T>: { current: T | null }
Type Parameters
RefinedOptionsFromRefiners
RefinedOptionsFromRefiners<Refiners>: { [ Prop in keyof Refiners]?: Refiners[Prop] extends ((input: any) => infer RefinedType) ? RefinedType : never }
Type Parameters
Refiners extends GenericRefiners
RenderHookPropsChildren
Type declaration
Parameters
rootElRef: Ref<any>
classNames: string[]
innerElRef: Ref<any>
ScrollGridImpl
ScrollGridImpl: {}
VNode
VNode: preact.VNode<any>
VUIEvent
VUIEvent: UIEvent
WeekNumberCalculation
Week
Number
Calculation
: "local" | "ISO" | ((m
: Date) => number)WillUnmountHandler
WillUnmountHandler<TheMountArg>: ((mountArg: TheMountArg) => void)
Type Parameters
TheMountArg extends { el: HTMLElement }
Type declaration
- (mountArg: TheMountArg): void
dateSelectionJoinTransformer
date
Selection
Join
Transformer
: ((hit0
: Hit, hit1
: Hit) => any)eventDragMutationMassager
Will be removed in v11.
Replacement Preact 10+ implementation can be found here: https://gist.github.com/developit/f4c67a2ede71dc2fab7f357f39cff28c