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