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