Skip to content

Commit

Permalink
docs(menu): add submenu slot name to jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
tjgupta authored and Westbrook committed May 11, 2023
1 parent 43bac39 commit 04ccb39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/menu/src/MenuItem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ const removeEvent = new MenuItemRemovedEvent();
* @slot - text content to display within the Menu Item
* @slot icon - icon element to be placed at the start of the Menu Item
* @slot value - content placed at the end of the Menu Item like values, keyboard shortcuts, etc.
* @slot submenu - content placed in a submenu
* @fires sp-menu-item-added - announces the item has been added so a parent menu can take ownerships
* @fires sp-menu-item-removed - announces when removed from the DOM so the parent menu can remove ownership and update selected state
*/
Expand Down

0 comments on commit 04ccb39

Please sign in to comment.