Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EventApi

Index

Constructors

Properties

_context: CalendarContext
_def: EventDef
_instance: null | EventInstance

Accessors

  • get allDay(): boolean
  • Returns boolean

  • get backgroundColor(): string
  • Returns string

  • get borderColor(): string
  • Returns string

  • get classNames(): string[]
  • Returns string[]

  • get display(): string
  • Returns string

  • get durationEditable(): boolean
  • Returns boolean

  • get end(): null | Date
  • get endStr(): string
  • Returns string

  • get groupId(): string
  • Returns string

  • get id(): string
  • Returns string

  • get overlap(): boolean
  • Returns boolean

  • get start(): null | Date
  • get startEditable(): boolean
  • Returns boolean

  • get startStr(): string
  • Returns string

  • get textColor(): string
  • Returns string

  • get title(): string
  • Returns string

  • get url(): string
  • Returns string

Methods

  • remove(): void
  • Returns void

  • setAllDay(allDay: boolean, options?: { maintainDuration?: boolean }): void
  • Parameters

    • allDay: boolean
    • Optional options: { maintainDuration?: boolean }
      • Optional maintainDuration?: boolean

    Returns void

  • setDates(startInput: DateInput, endInput: null | DateInput, options?: { allDay?: boolean; granularity?: string }): void
  • Parameters

    • startInput: DateInput
    • endInput: null | DateInput
    • Optional options: { allDay?: boolean; granularity?: string }
      • Optional allDay?: boolean
      • Optional granularity?: string

    Returns void

  • setEnd(endInput: null | DateInput, options?: { granularity?: string }): void
  • Parameters

    • endInput: null | DateInput
    • Optional options: { granularity?: string }
      • Optional granularity?: string

    Returns void

  • setExtendedProp(name: string, val: any): void
  • Parameters

    • name: string
    • val: any

    Returns void

  • setProp(name: string, val: any): void
  • Parameters

    • name: string
    • val: any

    Returns void

  • setStart(startInput: DateInput, options?: { granularity?: string; maintainDuration?: boolean }): void
  • Parameters

    • startInput: DateInput
    • Optional options: { granularity?: string; maintainDuration?: boolean }
      • Optional granularity?: string
      • Optional maintainDuration?: boolean

    Returns void

  • toPlainObject(settings?: { collapseColor?: boolean; collapseExtendedProps?: boolean }): Dictionary
  • Parameters

    • Optional settings: { collapseColor?: boolean; collapseExtendedProps?: boolean }
      • Optional collapseColor?: boolean
      • Optional collapseExtendedProps?: boolean

    Returns Dictionary

Generated using TypeDoc