DayPilot.Event.tag(fieldName)

The tag() method returns a custom event field using its name.

Declaration

DayPilot.Event.tag(fieldName)

Parameters

fieldName (string) - name of one of the fields specified in tags.

Notes

The method returns the custom field value associated with the current event.

Example

const category = e.tag("category");

See Also

DayPilot.Event Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript