Exportar Res js estática
// utilJs.js
export default shpwToast (variant='info', mode='dismissable', title, message) {
const event = new ShowToastEvent({
title: title,
message: message,
mode : mode,
variant : variant
});
return event;
}
Elated Echidna