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