generateMultipleTags(vals, tagName, styles = [], prefix = "", suffix = "", format = false) {
      let tags = "";

      if (typeof vals === "number") {
        for (let x = 1; x <= vals; x += 1) {
          tags += `<${tagName} style="${styles.join("; ")}">${prefix}${format ? this.formatValue(x) : x}${suffix}</${tagName}>`;
        }
      } else if (typeof vals === "object") {
        vals.forEach((val) => {
          tags += `<${tagName} style="${styles.join("; ")}">${prefix}${format ? this.formatValue(val) : val}${suffix}</${tagName}>`;
        });
      }

      return tags;
    }
/**
     * Generate multiple tags based on the parameters supplied.
     * @param {Array<Number> | Number} vals Values to generate a tag for.
     * @param {String} tagName Name of the HTML tag to generate.
     * @param {Array<String>} styles Array of CSS properties for styling the generated tag.
     * @param {String} prefix A string to prepend to the beginning of the tag value.
     * @param {String} suffix A string to append to the end of the tag value.
     * @param {Boolean} format Option if to format the value of the tag based on the provided option.
     * @returns {String}
     */
Generate multiple tags based on the parameters supplied.
@param {Array | Number} vals Values to generate a tag for.
@param {String} tagName Name of the HTML tag to generate.
@param {Array} styles Array of CSS properties for styling the generated tag.
@param {String} prefix A string to prepend to the beginning of the tag value.
@param {String} suffix A string to append to the end of the tag value.
@param {Boolean} format Option if to format the value of the tag based on the provided option.
@returns {String}
Generate multiple tags based on the parameters supplied . @param { Array | Number } vals Values to generate a tag for . @param { String } tagName Name of the HTML tag to generate . @param { Array } styles Array of CSS properties for styling the generated tag . @param { String } prefix A string to prepend to the beginning of the tag value . @param { String } suffix A string to append to the end of the tag value . @param { Boolean } format Option if to format the value of the tag based on the provided option . @returns { String }
generateMultipleTags(vals, tagName, styles = [], prefix = "", suffix = "", format = false) {
      let tags = "";
      if (typeof vals === "number") {
        for (let x = 1; x <= vals; x += 1) {
          tags += `<${tagName} style="${styles.join("; ")}">${prefix}${format ? this.formatValue(x) : x}${suffix}</${tagName}>`;
        }
      } else if (typeof vals === "object") {
        vals.forEach((val) => {
          tags += `<${tagName} style="${styles.join("; ")}">${prefix}${format ? this.formatValue(val) : val}${suffix}</${tagName}>`;
        });
      }
      return tags;
    }
generateMultipleTags ( vals , tagName , styles = [ ] , prefix = "" , suffix = "" , format = false ) { let tags = "" ; if ( typeof vals === "number" ) { for ( let x = 1 ; x <= vals ; x += 1 ) { tags += ` ${ tagName } ${ styles . join ( "; " ) } ${ prefix } ${ format ? this . formatValue ( x ) : x } ${ suffix } ${ tagName } ` ; } } else if ( typeof vals === "object" ) { vals . forEach ( ( val ) => { tags += ` ${ tagName } ${ styles . join ( "; " ) } ${ prefix } ${ format ? this . formatValue ( val ) : val } ${ suffix } ${ tagName } ` ; } ) ; } return tags ; }
Generate multiple tags based on the parameters supplied.
Generate multiple tags based on the parameters supplied .