The Gantt ViewSelector component. Shows the currently active view type, and allows switching to another view type.
(default: 'week') The currently active view type.
The collection of the timeline view types in the current Gantt configuration.
Fires each time the user selects a different view type. The event data contains the type of the newly selected view.