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