About node visibility check #490
-
In version 0.7.7, I was able to control if the node is visible or not, and if not, I was able to select the tab to make it visible. I updated to the latest version (0.8.17) and it seems the isVisible method has been removed from the API. I read the changelog and searched in discussions but I didn't find any information about it. How can I achieve the same functionality in the latest version? Sample code: // is visible is removed from the API
if (!model.getNodeById("node-id")?.isVisible()) {
model.doAction(Actions.selectTab("node-id"));
} |
Beta Was this translation helpful? Give feedback.
Answered by
akifsonmez
May 8, 2025
Replies: 1 comment 1 reply
-
there is still a isVisible() on TabNode |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you, I fixed it by adding a type assertion.