Skip to content

Commit

Permalink
refs #755 (cosmoz-frontend/issues/755) - add originalTarget property …
Browse files Browse the repository at this point in the history
…to detail in events
  • Loading branch information
Jim Kekonius authored and nomego committed Jan 14, 2019
1 parent 1609f7e commit 1cccc77
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cosmoz-dialog-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,13 @@
},

_handlePaperDialogEvents(event) {
this.dispatchEvent(new CustomEvent(event.type, { bubbles: true, composed: true }));
this.dispatchEvent(new CustomEvent(event.type, {
bubbles: true,
composed: true,
detail: {
originalTarget: event.target
}
}));
},

_forwardHostProp(prop, value) {
Expand Down

0 comments on commit 1cccc77

Please sign in to comment.