waygraph / normalizeTodos
Function: normalizeTodos()
normalizeTodos(
todos,todoIndex?,style?):WaygraphTodoItem[]
Defined in: src/demo/narration/todo-dock.ts:61
Normalize checklist rows; apply todoIndex for sequential done/current. In checklist / bullets mode, todoIndex is ignored unless items omit explicit done (bullets never auto-mark current).
Parameters
todos
readonly WaygraphTodoInput[] | undefined
todoIndex?
number
style?
TodoListStyle = "sequential"