Type alias SubtitleItemDescriptor<T>

SubtitleItemDescriptor<T>: ((item: SubtitleItem<T>) => {
    name: string;
    left: string;
    right: string;
})

Type Parameters

  • T

Type declaration

    • (item: SubtitleItem<T>): {
          name: string;
          left: string;
          right: string;
      }
    • Specify how IINA should display the subtitle item for user's selection.

      Parameters

      Returns {
          name: string;
          left: string;
          right: string;
      }

      • name: string

        The main text of the item.

      • left: string

        The left secondary text of the item.

      • right: string

        The right secondary text of the item.

Generated using TypeDoc