I'm using RED.nodes.eachNode
to inspect nodes at runtime, which returns the node definitions. However, I can't find a property or method to check if a node is disabled. Is there a way to access this information within the runtime?
The disabled node will have a property "d": true
.
e.g.
RED.nodes.eachNode(n => {
if (n.d === true) {
// it is disabled
}
})
Thanks. I saw that on the front end but not the back end. I double-checked, and I am seeing it now. I must have overlooked it.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.