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