Basic node label editor

This commit is contained in:
Nick O'Leary
2017-02-06 13:23:42 +00:00
parent 47df5476ba
commit e7e3ed4923
5 changed files with 116 additions and 16 deletions

View File

@@ -62,6 +62,9 @@ RED.stack = (function() {
};
entry.expand = function() {
if (!entry.isExpanded()) {
if (entry.onexpand) {
entry.onexpand.call(entry);
}
icon.addClass("expanded");
entry.content.slideDown(200);
return true;