Options
All
  • Public
  • Public/Protected
  • All
Menu

A pairing of a user specified event object and the schedule which defines when it occurs on a calendar.

Type parameters

  • T

    The type of data stored in the Event class.

  • M

    The type of metadata stored in the schedule.

Hierarchy

  • Event

Index

Constructors

Properties

Constructors

constructor

  • new Event(schedule: Schedule<M>, data?: T, id?: any, visible?: boolean): Event
  • Creates a new event.

    Parameters

    • schedule: Schedule<M>

      The schedule which defines when the event occurs.

    • Optional data: T

      User specified object which describes this event.

    • Optional id: any

      User specified ID which identifies this event.

    • Default value visible: boolean = true

    Returns Event

Properties

data

data: T

User specified object which describes this event.

id

id: any

User specified ID which can be used to find or remove this event from a Calendar.

schedule

schedule: Schedule<M>

The schedule which defines when this event occurs.

visible

visible: boolean

If the event is visible on the calendar.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc