Interface StoryOptions

Options that can be set when creating a Story object.

Hierarchy

  • StoryOptions

Properties

attributes?: Record<string, unknown>

General attributes of the story itself, like name or startnode. These appear on the <tw-storydata> element when published.

javascript?: string

The story's custom JavaScript.

passages?: Passage[]

Passages in the story.

stylesheet?: string

The story's custom stylesheet.

Generated using TypeDoc