Search results

ButtonModelPropsModel

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');