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