Interface PassageOptions

Options that can be set when creating a Passage object.

Hierarchy

  • PassageOptions

Properties

Properties

attributes?: Record<string, unknown>

Attributes on the passage, like name or tags. These appear on the <tw-passagedata> element when published.

source?: string

Source text of the passage.

Generated using TypeDoc