Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ addItem
Method
addItem
src/material/menu/menu.ts:351–351 ·
view source on GitHub ↗
(_item: MatMenuItem)
Source
from the content-addressed store, hash-verified
349
* @breaking-change 9.0.0
350
*/
351
addItem(_item: MatMenuItem) {}
352
353
/**
354
* Removes an item from the menu.
Callers
1
constructor
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected