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