Search
getNodesWithAttributeSet
Get the descendants of this node that have attribute set to a non-null value.
// Get all nodes with a background image set. const nodes = await framer.getNodesWithAttributeSet("backgroundImage")
Parameters
attribute:T– The attribute name to filter by.
Returns
Promise<Node[]>– An array of nodes that have the attribute set.