Skip to content

Commit

Permalink
Merge pull request #81 from LostInBrittany/dom-ready-event
Browse files Browse the repository at this point in the history
Adding a dom-ready event fired when the demo-snippet is ready
  • Loading branch information
Elliott Marquez authored Mar 4, 2019
2 parents be86cef + a61da04 commit f936c73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demo-snippet.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ Polymer({
this._observer = null;
dom(this).appendChild(document.importNode(template.content, true));
}
this.dispatchEvent(new CustomEvent('dom-ready'));
},

_copyToClipboard: function() {
Expand Down

0 comments on commit f936c73

Please sign in to comment.