- Return type: element
- Creates a new
menuitemelement and adds it to the end of the menulist. You may optionally set a value and description. The function returns the new item.
menuitem element and adds it to the end of the menulist. You may optionally set a value and description. The function returns the new item.