div(arg1) {
    /** Create new element */
    const div = new strapped.Div();
    
    /** Add to last container of indicated type */
    if ( typeof arg1 == 'string' && arg1.length > 0 )
      this.last(arg1).append(div);
    else
      this.last('Col').append(div);
    
    /** Allow for call chaining */
    return div;
  }
/**
   * Add new div to page.
   * @signature div() Add new div to last column
   * @signature div(string) Add new div to last container type indicated by (string)
   * @return This new div for call chaining
   */
Add new div to page.
@signature div() Add new div to last column
@signature div(string) Add new div to last container type indicated by (string)
@return This new div for call chaining
Add new div to page . @signature div () Add new div to last column @signature div ( string ) Add new div to last container type indicated by ( string ) @return This new div for call chaining
div(arg1) {
    const div = new strapped.Div();
    if ( typeof arg1 == 'string' && arg1.length > 0 )
      this.last(arg1).append(div);
    else
      this.last('Col').append(div);
    return div;
  }
div ( arg1 ) { const div = new strapped . Div ( ) ; if ( typeof arg1 == 'string' && arg1 . length > 0 ) this . last ( arg1 ) . append ( div ) ; else this . last ( 'Col' ) . append ( div ) ; return div ; }
Add new div to page.
Add new div to page .
/** Create new element */ /** Add to last container of indicated type */ /** Allow for call chaining */