diff --git a/app-localize-behavior.html b/app-localize-behavior.html index e1f8c95..f2d1369 100644 --- a/app-localize-behavior.html +++ b/app-localize-behavior.html @@ -161,6 +161,14 @@ localize: { type: Function, computed: '__computeLocalize(language, resources, formats)' + }, + + /** + * If true, will bubble up the event to the parents + */ + bubbleEvent: { + type: Boolean, + value: false } }, @@ -238,7 +246,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) {