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