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