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