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