Class StoryFormat

A story format, used to publish a Twine story to playable HTML.

Hierarchy

  • StoryFormat

Constructors

Properties

Methods

Constructors

Properties

attributes: Record<string, unknown>

Attributes on the story format, like source.

Methods

  • Returns HTML for a story bound to this format.

    Parameters

    • story: Story

      Story to publish

    Returns string

  • Returns a JSONP representation of the story format's attributes.

    Parameters

    • callbackName: string = 'storyFormat'

    Returns string

Generated using TypeDoc