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