nextFocusOrCreate

fun nextFocusOrCreate(position: Int, storyState: StoryState): StoryState

Moves the focus to the next available StoryStep if it can't find a step to focus, it creates a new StoryStep at the end of the document.

Parameters

position

Int

storyState