Closed maxkfranz closed 5 years ago
Thanks, Max. I will make these changes.
Done. package version 0.99.21
@maxkfranz - it took me a while to figure out I needed to make attributeName
an array.
node.data({[attributeName]: newValue});
Yes, that's just es6 syntax sugar for this:
let payload = {};
payload[attributeName] = newValue;
node.data(payload);
cy.getElementById()
.node.data()
instead ofObject.defineProperty()
.self.cyj.style().update();
is unncessary.