just_another_tree/js/tree.js
2024-03-03 11:53:50 +00:00

23 lines
No EOL
402 B
JavaScript

var layoutInfo = {
startTab: "none",
startNavTab: "tree-tab",
showTree: true,
treeLayout: ""
}
// A "ghost" layer which offsets other layers in the tree
addNode("blank", {
layerShown: "ghost",
},
)
addLayer("tree-tab", {
tabFormat: [["tree", function() {return (layoutInfo.treeLayout ? layoutInfo.treeLayout : TREE_LAYERS)}]],
previousTab: "",
leftTab: true,
})