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