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