Interface: IMessageCardBannerConfig

Configuration for a message card banner

Extends

Properties

bannerClass?

optionalbannerClass: string

The class for the banner. May be changed after the banner is created via the ICardBanner.bannerClass property.

Inherited from

ICardBannerConfig.bannerClass


iconClass?

optionaliconClass: string

The class for the banner icon. If not specified, the banner will have no icon. May be changed after the banner is created via the ICardBanner.iconClass property.


onclick()?

optionalonclick: (banner) => void | Promise<void>

A function to call when the user clicks on the banner

Parameters

banner: IMessageCardBanner

Returns

void | Promise<void>