Add eventClass for customEvents in calendar (#3193)

Hello,
This pull request allows you to add a class to the tr of the event
sought in customEvents. You must enter the class with the "eventClass"
option.

---------

Co-authored-by: TeddyStarinvest <teddy.payet@starinvest.com>
This commit is contained in:
Teddy
2023-09-20 22:04:41 +02:00
committed by GitHub
parent 8b1c279c07
commit a67a0b677c
4 changed files with 14 additions and 6 deletions

View File

@@ -60,6 +60,10 @@ describe("Calendar module", () => {
await testElementLength(".calendar .event .fa-dice", 1);
});
it("should show a customEvent calendar eventClass in one event", async () => {
await testElementLength(".calendar .event.undo", 1);
});
it("should show two custom icons for repeating events", async () => {
await testElementLength(".calendar .event .fa-undo", 2);
});