TagCallback

Experimental

type TagCallback: (dataSourceProxy, collectionProxy, dataItemProxy) => Promise<TagCallbackResult | undefined>;

Callback function to derive a tag for any given card's data item.
A tag is a combination of a text label (preferably short, less than two words) and an icon,
which can provide extra user-facing information in the card details panel.

Parameters

ParameterType
dataSourceProxyDataSourceProxy
collectionProxyCollectionProxy
dataItemProxyDataItemProxy

Returns

Promise<TagCallbackResult | undefined>