LastIndexAsInitial: Boolean;
The LastIndexAsInitial property determines the first or the last timeline tick mark.
Use JSON to set the property value, and the getLastIndexAsInitial method to get the property value.
Available values:
True. Default value. The last timeline tick mark is the start tick mark.
False. The first timeline tick mark is the start tick mark.
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: