Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add events to sample code
  • Loading branch information
gismofx committed Mar 11, 2022
1 parent 8fc4d1a commit 475e30f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ add this inside the `<body>` near the bottom
CalendarViewName="ViewModel.CalendarViewName"
@bind-VisibleStartDateRange="ViewModel.StartDate"
@bind-VisibleEndDateRange="ViewModel.EndDate"
OnChangeCalendarEventOrTask="@(async (x) => await ViewModel.OnChangeCalendarEventOrTask(x))"
OnClickCalendarEventOrTask="@(async (x) => await ViewModel.OnClickCalendarEventOrTask(x))"
OnCreateCalendarEventOrTask="@(async (x) => await ViewModel.OnCreateCalendarEventOrTask(x))"
OnDeleteCalendarEventOrTask="(async (x) => await ViewModel.OnDeleteCalendarEventOrTask(x))"
@ref=_calendarRef></TUICalendar>
```

Expand Down

0 comments on commit 475e30f

Please sign in to comment.