diff --git a/app-localize-behavior.html b/app-localize-behavior.html index dc724e5..6e13df8 100644 --- a/app-localize-behavior.html +++ b/app-localize-behavior.html @@ -173,6 +173,14 @@ localize: { type: Function, computed: '__computeLocalize(language, resources, formats)' + }, + + /** + * If true, will bubble up the event to the parents + */ + bubbleEvent: { + type: Boolean, + value: false } }, @@ -244,7 +252,7 @@ __onRequestResponse: function(event) { this.resources = event.response; - this.fire('app-localize-resources-loaded'); + this.fire('app-localize-resources-loaded', event, { bubbles: this.bubbleEvent}); }, __onRequestError: function(event) {