text(arg1) {
    /** Add text if string */
    if ( typeof arg1 == 'string' )
      this.append(new html.Text().text(arg1));
    
    /** Handle errors */
    else
      throw new TypeError(`H6.text(): Invalid signature (${typeof arg1}).`);

    /** Allow for call chaining */
    return this;
  }
/**
   * Add text to heading.
   * @signature text(string) Add text (string) to heading
   * @return This object for call chaining
   */
Add text to heading.
@signature text(string) Add text (string) to heading
@return This object for call chaining
Add text to heading . @signature text ( string ) Add text ( string ) to heading @return This object for call chaining
text(arg1) {
    if ( typeof arg1 == 'string' )
      this.append(new html.Text().text(arg1));
    else
      throw new TypeError(`H6.text(): Invalid signature (${typeof arg1}).`);
    return this;
  }
text ( arg1 ) { if ( typeof arg1 == 'string' ) this . append ( new html . Text ( ) . text ( arg1 ) ) ; else throw new TypeError ( ` ${ typeof arg1 } ` ) ; return this ; }
Add text to heading.
Add text to heading .
/** Add text if string */ /** Handle errors */ /** Allow for call chaining */