コード例 #1
0
 /// <summary>
 /// Initialize the Calendar
 /// </summary>
 /// <param name="objectReference"></param>
 /// <returns></returns>
 public async ValueTask InitCalendarAsync(DotNetObjectReference <TUICalendar> objectReference, TUICalendarOptions calendarOptions)
 {
     await _JSRuntime.InvokeVoidAsync("TUICalendar.initializeCalendar", objectReference, calendarOptions);
 }
コード例 #2
0
 /// <summary>
 /// Sets Calendar Options
 /// </summary>
 /// <param name="calendarOptions"></param>
 /// <returns></returns>
 public async ValueTask SetCalendarOptionsAsync(TUICalendarOptions calendarOptions)
 {
     await _JSRuntime.InvokeVoidAsync("TUICalendar.setCalendarOptions", calendarOptions);
 }