code: function( attributes ) {
      let property;
  
      for ( property in attributes ) {
        if ( attributes.hasOwnProperty( property ) ) {
          this.element.setAttribute( property, attributes[property] );
        }
      }
    }
docs: Function used to set the attributes on an element.
  
  @param {Object} attributes - Hash of attributes to set on base element.