Skip to content

Commit 9ba34da

Browse files
rahmanunversamuelreichert
authored andcommitted
feat(calendar-web): add allDay action variable
1 parent 1a4abe8 commit 9ba34da

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/pluggableWidgets/calendar-web/src/Calendar.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117
<actionVariables>
118118
<actionVariable key="startDate" type="DateTime" caption="Event start date" />
119119
<actionVariable key="endDate" type="DateTime" caption="Event end date" />
120+
<actionVariable key="allDay" type="Boolean" caption="Event all day" />
120121
<actionVariable key="title" type="String" caption="Event title" />
121122
</actionVariables>
122123
</property>

packages/pluggableWidgets/calendar-web/typings/CalendarProps.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export interface CalendarContainerProps {
4343
defaultView: DefaultViewEnum;
4444
startDateAttribute?: EditableValue<Date>;
4545
eventDataAttribute?: EditableValue<string>;
46-
onClickEvent?: ActionValue<{ startDate: Option<Date>; endDate: Option<Date>; title: Option<string> }>;
46+
onClickEvent?: ActionValue<{ startDate: Option<Date>; endDate: Option<Date>; allDay: Option<boolean>; title: Option<string> }>;
4747
onCreateEvent?: ActionValue<{ startDate: Option<Date>; endDate: Option<Date>; allDay: Option<boolean> }>;
4848
onChange?: ActionValue<{ oldStart: Option<Date>; oldEnd: Option<Date>; newStart: Option<Date>; newEnd: Option<Date> }>;
4949
onRangeChange?: ActionValue<{ rangeStart: Option<Date>; rangeEnd: Option<Date>; currentView: Option<string> }>;

0 commit comments

Comments
 (0)