mg2017
01/20/2022, 4:30 PMconst beforeLoad = (context) => {
if(context.Type === context.UserEventType.COPY) {
log.debug({title: "User Event", details: context.Type});
}
}
creece
01/20/2022, 4:32 PMWebber
01/20/2022, 4:33 PMAlan Fitch
01/20/2022, 4:36 PMAlan Fitch
01/20/2022, 4:37 PMNElliott
01/20/2022, 4:51 PMNElliott
01/20/2022, 4:52 PMif (context.type === context.UserEventType.DELETE) {
return
}
Is what I see in all my code...
and in the JSDOC
* @param {string} context.type - Trigger type; use values from the context.UserEventType enum
creece
01/20/2022, 5:00 PMmg2017
01/20/2022, 5:02 PMmg2017
01/20/2022, 5:02 PM