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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot