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