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

YearViewComponent

The component for rendering the Year view.

Selector

kendo-scheduler-year-view

Inputs

NameTypeDefaultDescription

eventClass

(args: EventStyleArgs) => any

Defines a function that is executed for every event in the view. The function returns a value which is supported by ngClass.

eventStyles

(args: EventStyleArgs) => any

Defines a function that is executed for every event in the view. The function returns a value which is supported by ngStyle.

selectedDateFormat

string

'{0:yyy}'

The long-date format for displaying the selected year in the Scheduler toolbar. For more information, see Parsing and Formatting Dates and Numbers.

selectedShortDateFormat

string

'{0:yyy}'

The short-date format for displaying the selected year in the Scheduler toolbar. For more information, see Parsing and Formatting Dates and Numbers.

slotClass

(args: SlotClassArgs) => any

Defines a function that is executed for every slot in the view. The function returns a value which is supported by ngClass.

For more information, refer to the example on setting the class callback for all views in SchedulerComponent.slotClass.

Fields

NameTypeDefaultDescription

name

string

'year'

The invariant name for this view.

In this article

Not finding the help you need?