The xssProtection property (string) enables the built-in cross-site scripting (XSS) protection.
Available since 2020.4.4701.
Declaration
DayPilot.Scheduler.xssProtectionPossible Values
"Enabled"- turns on the built-in XSS protection."Disabled"- turns off the built-in XSS protection.
Default Value
"Enabled"Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
xssProtection: "Disabled",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
xssProtection: "Disabled",
// ...
};React
<DayPilotScheduler
xssProtection="Disabled"
{/* ... */}
/>Vue
<DayPilotScheduler
xssProtection="Disabled"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot