title: How can i get kendo scheduler current view on change view like day view or week view using typescript?
body: <pre><code>&lt;kendo-scheduler [kendoSchedulerBinding]="events"
                   [selectedDate]="selectedDate"
                   [group]="group" [resources]="resources"
                   style="height: 600px;"
                   [workDayStart]="workDayStart" [workDayEnd]="workDayEnd" [showWorkHours]="true" (dateChange)="onDateChange($event)"&gt;
      &lt;ng-template kendoSchedulerGroupHeaderTemplate let-resource="resource"&gt;
          &lt;span [style.color]="resource?.color"&gt;&lt;a  id="{{resource.text|split:'*':0}}" href="javascript:void(0);" class="user-unavilability"&gt;{{resource.text|split:'*':1}}&lt;/a&gt;&lt;/span&gt;
      &lt;/ng-template&gt;
  
      &lt;kendo-scheduler-day-view&gt;
      &lt;/kendo-scheduler-day-view&gt;
      &lt;kendo-scheduler-week-view&gt;
      &lt;/kendo-scheduler-week-view&gt;
  
  &lt;/kendo-scheduler&gt;
  </code></pre>
  
  <p>I have to get the current view of this kendo-scheduler (eg. day-view or week-view) in typescript and which view is by default selected in kendo-scheduler.</p>