Interface for a class ButtonModelProps
EmitType<Event>
Specifies the click event binding of action buttons created within Toast.
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');