Skip to content

Instantly share code, notes, and snippets.

View CustomEvent.js
//----"ticketdelete" is the event name.
//----"param" is the parameter name sent through the event
CustomEvent evt = new CustomEvent("ticketdelete",{param: 'any value'});
View gist:2aff849663ee4bdb6fbcf578a7d310d7
CustomEvent evt = new CustomEvent(
"ticketdelete",{detail: this.dataToDisplay.Id});
You can’t perform that action at this time.