We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
用getnodebyid获取的节点正确,但是无法获取父类的zindex属性怎么办
The text was updated successfully, but these errors were encountered:
不是很理解具体在问什么,如果是想获取一个节点并且拿到该节点的 zIndex 的话,可以参考以下实现:
zIndex
// 这里假设 LogicFlow 对象存储在变量 lf 中,并假设要获取的节点的 id 为 "1" const node = lf.getNodeModelById('1'); console.log(node.zIndex); // > 在控制台里会输出该节点的 zIndex
如果这不是您想要的回答,推荐明确下具体想问的问题是什么~
Sorry, something went wrong.
发现要用model才能拿到zindex属性
No branches or pull requests
用getnodebyid获取的节点正确,但是无法获取父类的zindex属性怎么办
The text was updated successfully, but these errors were encountered: