Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Improve urth-core-behaviors/error-display-behavior #555

Closed
wants to merge 7 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions elements/urth-core-function/urth-core-function.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@
],

listeners: {
'watch_notify': 'invoke',
'click': '_tryInvoke'
'watch_notify': 'invoke'
},

created: function(){
Expand All @@ -157,6 +156,13 @@
this.args = this._paramsFromAttributes();
}
},

attached: function() {
var toListen = Polymer.dom(this.root).querySelectorAll('*');
for (var i = 0; i < toListen.length; i++) {
this.listen(toListen[i], 'click', '_tryInvoke');
}
},

/*
* onModelReady is invoked when have created the model portion of the widget
Expand Down