DayPilot.Month.eventsLoadMethod

The eventsLoadMethod property (string) specifies the HTTP method used by the DayPilot.Month.events.load() method.

Declaration

DayPilot.Month.eventsLoadMethod

Possible Values

  • "GET" loads events using an HTTP GET request.

  • "POST" loads events using an HTTP POST request.

Default Value

"GET"

Examples

JavaScript

const dp = new DayPilot.Month("dp", {
  eventsLoadMethod: "POST",
  // ...
});
dp.init();

Angular

<daypilot-month [config]="config"></daypilot-month>
config: DayPilot.MonthConfig = {
  eventsLoadMethod: "POST",
  // ...
};

React

<DayPilotMonth
  eventsLoadMethod="POST"
  {/* ... */}
/>

Vue

<DayPilotMonth
  eventsLoadMethod="POST"
  <!-- ... -->
/>

See Also

DayPilot.Month.events.load()

DayPilot.Month Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript