DayPilot.Event.client.html

The html() method gets or sets the current client-side HTML of the event.

Declaration

DayPilot.Event.client.html()
DayPilot.Event.client.html(newValue)

Parameters

  • newValue (string) - new event HTML

Return Value

If called without a parameter, it returns the current event HTML (string).

Example

const html = e.client.html();
e.client.html("<b>New event HTML</b>");