ViewStateService
A service for publishing the view state and actions to the Scheduler.
Name | Type | Default | Description |
---|---|---|---|
dateRange |
|
A stream for publishing the visible date range of the current view to the Scheduler. | |
layoutEnd |
|
A stream for indicating that the view layout finished. | |
navigate |
|
A stream fro navigating from the current to another view. | |
nextDate |
|
A stream for publishing the changes to the selected date that are initiated from the view. | |
optionsChange |
|
A stream for indicating that the view options has changed. | |
slotSelectionDrag |
|
A stream indicating that the user has dragged over a different slot while making a selection. | |
slotSelectionEnd |
|
A stream indicating that the user has finished making a slot selection. | |
slotSelectionStart |
|
A stream indicating that the user has started making a new slot selection. | |
viewEvent |
|
A stream for navigating from the current to another view. |
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. | ||||||
|