Timeline.LastIndexAsInitial

Syntax

LastIndexAsInitial: Boolean;

Description

The LastIndexAsInitial property determines the first or the last timeline tick mark.

Comments

Use JSON to set the property value, and the getLastIndexAsInitial method to get the property value.

Available Values:

Example

To execute the example, the page must contain the Timeline component named timeline (see Example of Creating the Timeline Component):

// Determine, which timeline tick mark is selected as a start one 
console.debug(timeline.getLastIndexAsInitial())

After executing the example the console window displays, which timeline tick mark is selected as a start one - the first or the last one.

See also:

Timeline