Answers for "export static res js"

0

export static res js

// 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;
}
Posted by: Guest on June-08-2021
0

export static res js

// consumerComponent.js
import { shpwToast } from 'c/utilJs';
Posted by: Guest on June-08-2021

Browse Popular Code Answers by Language