ViewStateService
A service for publishing the view state and actions to the Scheduler.
Name | Type | Default | Description |
---|---|---|---|
dateRange |
|
Represents a stream that publishes the visible date range for the current view to the Scheduler. | |
layoutEnd |
|
Represents a stream that indicates when the view layout finishes. | |
navigate |
|
Represents a stream for navigating from the current view to another view. | |
nextDate |
|
Represents a stream that publishes changes to the selected date, which initiate from the view. | |
optionsChange |
|
Represents a stream that indicates when the view options change. | |
slotSelectionDrag |
|
Represents a stream that indicates when the user drags over a different slot during selection. | |
slotSelectionEnd |
|
Represents a stream that indicates when the user finishes making a slot selection. | |
slotSelectionStart |
|
Represents a stream that indicates when the user starts a new slot selection. | |
viewEvent |
|
Represents a stream that publishes events for navigation between views. |
Constructors
ViewStateService
()
Methods
emitEvent | |||||||||
---|---|---|---|---|---|---|---|---|---|
Emits a DOM event to the Scheduler. | |||||||||
|
navigateTo | ||||||
---|---|---|---|---|---|---|
Navigates to another view. | ||||||
|
notifyDateRange | ||||||
---|---|---|---|---|---|---|
Publishes the visible date range of the view. The view will calculate and set the new data range when the selected date changes. | ||||||
|
notifyLayoutEnd |
---|
Notifies the Scheduler that the view has completed its layout. |
notifyNextDate | ||||||
---|---|---|---|---|---|---|
Publishes the date that will be displayed by the Scheduler typically as a result from processing a navigation action. | ||||||
|
notifyOptionsChange | ||||||
---|---|---|---|---|---|---|
Notifies the Scheduler that the view options have been changed. | ||||||
|