New to Kendo UI for Angular? Start a free 30-day trial

ViewStateService

A service for publishing the view state and actions to the Scheduler.

dateRange

Observable<DateRange>

A stream for publishing the visible date range of the current view to the Scheduler.

layoutEnd

Observable<any>

A stream for indicating that the view layout finished.

navigate

Observable<any>

A stream fro navigating from the current to another view.

nextDate

Observable<Date>

A stream for publishing the changes to the selected date that are initiated from the view.

optionsChange

Observable<any>

A stream for indicating that the view options has changed.

viewEvent

Observable<any>

A stream for navigating from the current to another view.

Constructors

ViewStateService

()

Methods

emitEvent

Emits a DOM event to the Scheduler.

Parameters

name

string

args

any

navigateTo

Navigates to another view.

Parameters

args

any

notifyDateRange

Publishes the visible date range of the view. The view will calculate and set the new data range when the selected date changes.

Parameters

range

DateRange

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.

Parameters

date

Date

notifyOptionsChange

Notifies the Scheduler that the view options have been changed.