MCPcopy
hub / github.com/aframevr/aframe / setAttribute

Method setAttribute

src/core/a-node.js:265–268  ·  view source on GitHub ↗
(attr, newValue)

Source from the content-addressed store, hash-verified

263 }
264
265 setAttribute (attr, newValue) {
266 if (attr === 'mixin') { this.updateMixins(newValue); }
267 window.HTMLElement.prototype.setAttribute.call(this, attr, newValue);
268 }
269
270 /**
271 * Removes the mixin element from `mixinEls`.

Callers 15

line.jsFile · 0.45
laser-controls.jsFile · 0.45
createRayFunction · 0.45
hideRayFunction · 0.45
raycaster.jsFile · 0.45
anchored.jsFile · 0.45

Calls 1

updateMixinsMethod · 0.95

Tested by 5

setupTrackedControlsFunction · 0.36
constructACubemapFunction · 0.36
componentInitializedFunction · 0.36
onEyeLoadedFunction · 0.36
initFunction · 0.36