Closed Marshall200900 closed 1 year ago
I could not find any way to push a node to foreground and background, so I had to do this:
const background = document.querySelector('[data-nodeid="nodeid"]') as HTMLDivElement; if (background) { background.style.zIndex = '-1'; }
Do not see this as an elegant solution, so question arised: Is there some function in the library to push a node to foreground/background?
solved by using layers
I could not find any way to push a node to foreground and background, so I had to do this:
Do not see this as an elegant solution, so question arised: Is there some function in the library to push a node to foreground/background?