New to Kendo UI for AngularStart a free 30-day trial

Definition

Package:@progress/kendo-angular-layout

Selector:kendo-timeline

Export Name:Accessible in templates as #kendoTimelineInstance="kendoTimeline"

Inputs

alterMode

boolean

Specifies whether to render events alternatingly on both sides of the axis. Applicable when orientation is set to vertical.

Default:

false

animation

number | boolean

Specifies the time for sliding to the next event in horizontal mode and the time for collapsing the event in vertical mode. The default animation duration values are 300ms for horizontal mode and 400ms for vertical mode.

Default:

true

Specifies whether the event cards can be collapsed.

Default:

true

Specifies the date format for displaying the event date.

Default:

'MMMM dd, yyyy'

Sets a specific height for the event. This setting is supported only in horizontal mode.

Default:

600

events

any[]

An array of event instances which will be shown by the Timeline.

Specifies the order of the Timeline events. asc - chronological order desc - reverse-chronological order

Default:

'asc'

Sets a specific width for the event. This setting is supported only in vertical mode.

Default:

400

The names of the model fields from which the Timeline will read its data.

boolean

Specifies whether the user can use dedicated shortcuts to interact with the Timeline.

Default:

true

Specifies the orientation of the axis.

Default:

'vertical'

Specifies whether an event's date label will be visible.

Default:

true

Events

Fires when a card's action is clicked.

Fires when the left or right arrow is clicked. This event is supported only in horizontal mode.

Fires when a card is toggled. This event is supported only in vertical mode.

Methods

Collapses an event. This method is supported only in vertical mode.

Parameters:indexnumber

Expands an event. This method is supported only in vertical mode.

Parameters:indexnumber

Switches to the next portion of events. This method is supported only in horizontal mode.

Open event details. This method is supported only in horizontal mode.

Parameters:indexnumber

Switches to the previous portion of events. This method is supported only in horizontal mode.