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