#102378
Yavor Dashev
Participant

Hi Ede Gross,
I have prepared a quick code snippet how to use the SchedulerViewType[] type using the latest version of smart-webcomponents-angular (10.0.50).
The code snippet:

 view: SchedulerViewType= 'timelineWeek';
    views: object | SchedulerViewType[] = [
        'timelineDay',
        {
            //Custom view definition
            label: 'Timeline Work Week',
            value: 'workWeek',
            type: 'timelineWeek',
            hideWeekend: true
        },
    ];

Please, do not hesitate to contact us if you have any additional questions.
Best regards,
Yavor Dashev
Smart UI Team
https://www.htmlelements.com/