ButchMonkey
ButchMonkey
Are you trying to hide all the headers after the layout is loaded or just specific ones? In #251 it is stated you can use `Header.position()` to change where the...
How is this example not reliable? It does as you want. The stack cannot have anything dragged onto it. If you initialise the layout with only 1 tab in each...
Not come across this issue before. Can someone replicate on code pen?
Can try using "pointer-events: none" in the css. Might not be the best solution however
You can prevent the user from reordering components by using reorderEnabled : false in the config See [config](https://www.golden-layout.com/docs/Config.html) for more info. As for you second question, [this ](https://www.golden-layout.com/examples/#30979a043f34750045dbe57aba4b1ee5)demo might be...
Firstly, you need to get the item for each container. You can use different methods for this, such as ````javascript myLayout.root.getItemsById("itemId") ```` Available methods - - getItemsById - getItemsByFilter -...
There is a destroy event you can use - ```javascript container.on('destroy', function (container) { console.log(container.config.id + " was closed") } ```
Performance is an issue for sure. If you had a complicated layout, re-calculating while dragging could get quite slow.
Destroy passes the item to the event now as of [182](https://github.com/deepstreamIO/golden-layout/pull/182) I'll take a look into resize
Can't we just use "container", as the event handler is bound to it? The modification I made to destroy does pass down the component which, after more investigation, looks to...