expose onTabCreate() so other plugins can create blessed goldenlayout tabs

This commit is contained in:
Brenden Tuck 2020-09-18 18:45:50 -04:00
parent c568e055f6
commit 97f359f9ae

View file

@ -535,6 +535,7 @@ let goldenlayout = (function () {
onText: onText, onText: onText,
getGL: function () { return myLayout; }, getGL: function () { return myLayout; },
addKnownType: addKnownType, addKnownType: addKnownType,
onTabCreate: onTabCreate,
} }
}()); }());
window.plugin_handler.add("goldenlayout", goldenlayout); window.plugin_handler.add("goldenlayout", goldenlayout);