Tooltip key of the template fragment.
The string tooltip associated with this fragment will be looked up in templateData map with this key.
Example:
const myTemplate = {
body: {
compositions: [{
minTemplateAPIVersion: '1',
layout: {
type: "actionableText",
dataKey: 'message',
tooltipKey: 'tooltipxyz',
},
}],
},
}
const notificationOption: TemplateCustom = {
//...
templateOptions: myTemplate,
templateData: {
message: 'view stock tracker',
tooltipxyz: 'My Custom Tooltip',
}
};
Generated using TypeDoc
onClick object that is user defined.
If provided, notification-action event will be raised when clicking on the fragment.
Example: