dat.gui/elements/gui-row/gui-row.js

27 lines
284 B
JavaScript
Raw Normal View History

2014-08-16 21:16:02 +00:00
/*
[ ] comment hover behavior
*/
2014-08-15 16:32:49 +00:00
Polymer('gui-row', {
2014-08-16 21:16:02 +00:00
comment: null,
commentOpen: false,
2014-08-15 16:32:49 +00:00
ready: function() {
2014-08-16 21:16:02 +00:00
},
openComment: function() {
2014-08-18 21:56:05 +00:00
this.commentOpen = true;
2014-08-16 21:16:02 +00:00
},
closeComment: function() {
2014-08-18 21:56:05 +00:00
this.commentOpen = false;
2014-08-15 16:32:49 +00:00
}
});