ButtonModelPropsModel
12 Sep 20251 minute to read
Interface for a class ButtonModelProps
Properties
click EmitType<Event>
Specifies the click event binding of action buttons created within Toast.
model 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');