MCPcopy Index your code
hub / github.com/spritejs/spritejs / setAttribute

Method setAttribute

src/node/node.js:442–447  ·  view source on GitHub ↗
(key, value)

Source from the content-addressed store, hash-verified

440 }
441
442 setAttribute(key, value) {
443 if(key === 'attrs') {
444 this.attr(value);
445 }
446 this.attributes[key] = value;
447 }
448
449 setMouseCapture() {
450 if(this.layer) {

Callers 2

attrMethod · 0.95
removeAttributeMethod · 0.95

Calls 1

attrMethod · 0.95

Tested by

no test coverage detected