##// END OF EJS Templates
helpers: added route_path_or_none helper for routes that might be added by plugins
helpers: added route_path_or_none helper for routes that might be added by plugins

File last commit:

r778:6acda5b8 default
r780:71ba091b default
Show More
rhodecode-toast.js
31 lines | 623 B | application/javascript | JavascriptLexer
components: reorganize build pipeline to have nice separation of html/js/css
r703 Polymer({
is: 'rhodecode-toast',
properties: {
toasts: {
type: Array,
value: function(){
return []
}
}
},
observers: [
'_changedToasts(toasts.splices)'
],
ready: function(){
},
_changedToasts: function(newValue, oldValue){
this.$['p-toast'].notifyResize();
},
dismissNotifications: function(){
this.$['p-toast'].close();
notifications: clear out toasts after animation, remove ink animation from the button
r778 },
handleClosed: function(){
components: reorganize build pipeline to have nice separation of html/js/css
r703 this.splice('toasts', 0);
},
open: function(){
this.$['p-toast'].open();
},
_gettext: _gettext
});