Last date modified: 2025-Jul-02
Interface: IViewerCardTabOption
Describes a viewer card tab option that is displayed for a viewer card
Properties
action()
action: () =>
boolean|Promise<boolean>
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.
Returns
boolean | Promise<boolean>
id
id:
string
Unique ID for the option
selected?
optionalselected:boolean
Whether or not the option should show as selected
title
title:
string
Title displayed to the user
On this page