DatahubButton interface

An interface representing an action button in the datahub

Properties

actionId

The action id of the button

isAllowed

The predicate if the button is allowed

isDisabled

The predicate if the button is disabled

itemType

The item type that realted to the button

name

The name of the button

nameAlternativeLocalized

The localized display name alternative, used if the primary dropdown text is different than the primary button text.

nameLocalized

The localized display name of the button

tooltip

The tooltip of the button

tooltipLocalized

The localized tooltip of the button

Property Details

actionId

The action id of the button

actionId: string

Property Value

string

isAllowed

The predicate if the button is allowed

isAllowed?: (item: ItemBase) => boolean | Promise<boolean>

Property Value

(item: ItemBase) => boolean | Promise<boolean>

isDisabled

The predicate if the button is disabled

isDisabled?: (item: ItemBase) => boolean | Promise<boolean>

Property Value

(item: ItemBase) => boolean | Promise<boolean>

itemType

The item type that realted to the button

itemType?: string

Property Value

string

name

The name of the button

name?: string

Property Value

string

nameAlternativeLocalized

The localized display name alternative, used if the primary dropdown text is different than the primary button text.

nameAlternativeLocalized?: string

Property Value

string

nameLocalized

The localized display name of the button

nameLocalized: string

Property Value

string

tooltip

The tooltip of the button

tooltip?: string

Property Value

string

tooltipLocalized

The localized tooltip of the button

tooltipLocalized?: string

Property Value

string