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