render(indent) {
    const div = new html.Div();
    
    div.addClass('form-group');
    
    if ( this.horizontal() )
      div.addClass('row');
    
    if ( !this.horizontal() && this.cols() > 0 )
      div.addClass(`col-${this.cols()}`);
    
    if ( this.label().length > 0 ) {
      const label = new html.Label();
      
      if ( this.controlSize().length > 0 )
        label.addClass(`col-form-label-${this.controlSize()}`);
      
      if ( this.horizontal() && this.labelCols() > 0 )
        label.addClass(`col-${this.labelCols()}`);
      
      if ( this.id().length > 0 )
        label.for(this.id());
      
      label.text(this.label());
      
      div.append(label);
    }
    
    const textArea = new html.TextArea();
    
    textArea.attributes(this.attributes());
    textArea.content(this.content());
    textArea.classes(this.classes());
    textArea.id(this.id());
    textArea.style(this.style());
    textArea.title(this.title());
    textArea.autofocus(this.autofocus());
    textArea.dirname(this.dirname());
    textArea.disabled(this.disabled());
    textArea.form(this.form());
    textArea.maxlength(this.maxlength());
    textArea.name(this.name());
    textArea.placeholder(this.placeholder());
    textArea.readonly(this.readonly());
    textArea.required(this.required());
    textArea.rows(this.rows());
    textArea.wrap(this.wrap());
    
    if ( this.controlSize().length > 0 )
      textArea.addClass(`form-control-${this.controlSize()}`);
    else
      textArea.addClass(`form-control`);
    
    if ( this.horizontal() && this.inputCols() > 0 )
      div.append(new html.Div().addClass(`col-${this.inputCols()}`).append(textArea));
    else
      div.append(textArea);
    
    return div.render(indent);
  }
/**
   * Render the component.
   * @signature render(number) Render this component with (number) spaces of indentation
   * @return The rendered HTML
   */
Render the component.
@signature render(number) Render this component with (number) spaces of indentation
@return The rendered HTML
Render the component . @signature render ( number ) Render this component with ( number ) spaces of indentation @return The rendered HTML
render(indent) {
    const div = new html.Div();
    div.addClass('form-group');
    if ( this.horizontal() )
      div.addClass('row');
    if ( !this.horizontal() && this.cols() > 0 )
      div.addClass(`col-${this.cols()}`);
    if ( this.label().length > 0 ) {
      const label = new html.Label();
      if ( this.controlSize().length > 0 )
        label.addClass(`col-form-label-${this.controlSize()}`);
      if ( this.horizontal() && this.labelCols() > 0 )
        label.addClass(`col-${this.labelCols()}`);
      if ( this.id().length > 0 )
        label.for(this.id());
      label.text(this.label());
      div.append(label);
    }
    const textArea = new html.TextArea();
    textArea.attributes(this.attributes());
    textArea.content(this.content());
    textArea.classes(this.classes());
    textArea.id(this.id());
    textArea.style(this.style());
    textArea.title(this.title());
    textArea.autofocus(this.autofocus());
    textArea.dirname(this.dirname());
    textArea.disabled(this.disabled());
    textArea.form(this.form());
    textArea.maxlength(this.maxlength());
    textArea.name(this.name());
    textArea.placeholder(this.placeholder());
    textArea.readonly(this.readonly());
    textArea.required(this.required());
    textArea.rows(this.rows());
    textArea.wrap(this.wrap());
    if ( this.controlSize().length > 0 )
      textArea.addClass(`form-control-${this.controlSize()}`);
    else
      textArea.addClass(`form-control`);
    if ( this.horizontal() && this.inputCols() > 0 )
      div.append(new html.Div().addClass(`col-${this.inputCols()}`).append(textArea));
    else
      div.append(textArea);
    return div.render(indent);
  }
render ( indent ) { const div = new html . Div ( ) ; div . addClass ( 'form-group' ) ; if ( this . horizontal ( ) ) div . addClass ( 'row' ) ; if ( ! this . horizontal ( ) && this . cols ( ) > 0 ) div . addClass ( ` ${ this . cols ( ) } ` ) ; if ( this . label ( ) . length > 0 ) { const label = new html . Label ( ) ; if ( this . controlSize ( ) . length > 0 ) label . addClass ( ` ${ this . controlSize ( ) } ` ) ; if ( this . horizontal ( ) && this . labelCols ( ) > 0 ) label . addClass ( ` ${ this . labelCols ( ) } ` ) ; if ( this . id ( ) . length > 0 ) label . for ( this . id ( ) ) ; label . text ( this . label ( ) ) ; div . append ( label ) ; } const textArea = new html . TextArea ( ) ; textArea . attributes ( this . attributes ( ) ) ; textArea . content ( this . content ( ) ) ; textArea . classes ( this . classes ( ) ) ; textArea . id ( this . id ( ) ) ; textArea . style ( this . style ( ) ) ; textArea . title ( this . title ( ) ) ; textArea . autofocus ( this . autofocus ( ) ) ; textArea . dirname ( this . dirname ( ) ) ; textArea . disabled ( this . disabled ( ) ) ; textArea . form ( this . form ( ) ) ; textArea . maxlength ( this . maxlength ( ) ) ; textArea . name ( this . name ( ) ) ; textArea . placeholder ( this . placeholder ( ) ) ; textArea . readonly ( this . readonly ( ) ) ; textArea . required ( this . required ( ) ) ; textArea . rows ( this . rows ( ) ) ; textArea . wrap ( this . wrap ( ) ) ; if ( this . controlSize ( ) . length > 0 ) textArea . addClass ( ` ${ this . controlSize ( ) } ` ) ; else textArea . addClass ( ` ` ) ; if ( this . horizontal ( ) && this . inputCols ( ) > 0 ) div . append ( new html . Div ( ) . addClass ( ` ${ this . inputCols ( ) } ` ) . append ( textArea ) ) ; else div . append ( textArea ) ; return div . render ( indent ) ; }
Render the component.
Render the component .