Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IViewerCardTabOption

Describes a viewer card tab option that is displayed for a viewer card

Hierarchy

  • IViewerCardTabOption

Index

Properties

Properties

action

action: function

Function to invoke when the user selects the option

If the provided funtion returns a falsy value or a Promise that resolves to a falsy value, the tab will not end up being selected.

Type declaration

    • (): Promise<boolean> | boolean
    • Returns Promise<boolean> | boolean

id

id: string

Unique ID for the option

Optional selected

selected: boolean

Whether or not the option should show as selected

title

title: string

Title displayed to the user