Set Max Index

Adjusts the index that the timeline ends at.

Syntax

store.dispatch({ type: "SET_PLAYER_MAX_INDEX", payload: maxIndex });

Parameters

maxIndex

The max index for the timeline to render.

Examples

Adjusts the max index to frame 80.

store.dispatch({
  type: "SET_PLAYER_MAX_INDEX",
  payload: 80
});