Drafts Script Reference
    Preparing search index...

    Class SelectPromptItem

    See {SelectPrompt} documentation for usage.

    Display

    subtitle?: string

    Optional subtitle text to display smaller below the title. Useful if options require greater levels of explanation to assist the selecting the correct option.

    symbolName?: string

    The name of a valid SF Symbol available on the platform. It will be displayed as a small icon next to the item title, if provided. Valid symbol names can be found using Apple's SF Symbols app or other third party tools and online references.

    title: string

    The text to explain the item. Should be descriptive, user-facing value.

    Other

    id: string

    Unique identifier for the item. No two items in the same SelectPrompt should have the same ID.

    • Create new instance.

      Parameters

      • id: string
      • title: string
      • Optionalsubtitle: string
      • OptionalsymbolName: string

      Returns SelectPromptItem