whole_func_string: function doSetAttribute(el, props, propName) {
    if (propName === 'className') {
      el.setAttribute('class', props.className);
    } else if (props[propName] && props[propName].constructor === Function) {
      return;
    } else {
      el.setAttribute(propName, props[propName]);
    }
  }
func_code_string: function doSetAttribute(el, props, propName) {
    if (propName === 'className') {
      el.setAttribute('class', props.className);
    } else if (props[propName] && props[propName].constructor === Function) {
      return;
    } else {
      el.setAttribute(propName, props[propName]);
    }
  }
func_documentation_string: Call `.setAttribute()` on the `ref`, passing prop data directly to A-Frame.