An object that is used to configure the action button model properties and event.
ButtonModel
Specifies the Button component model properties to render the Toast action buttons.
<div id="element"> </div>
let toast: Toast = new Toast({
buttons:
[{
model: { content:`Button1`, cssClass: `e-success` }
}]
});
toast.appendTo('#element');
Defaults to null
EmitType<Event>
Specifies the click event binding of action buttons created within Toast.