<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`MenuItem`](MenuItem)
## MenuItem class
**Signature:**
```typescript
export class MenuItem
```
## Methods
| Method | Modifiers | Description |
| --- | --- | --- |
| [`onClick(callback)`](MenuItem/onClick) | | |
| [`setChecked(checked)`](MenuItem/setChecked) | | |
| [`setDisabled(disabled)`](MenuItem/setDisabled) | | |
| [`setIcon(icon)`](MenuItem/setIcon) | | |
| [`setIsLabel(isLabel)`](MenuItem/setIsLabel) | | 0.15.0 |
| [`setSection(section)`](MenuItem/setSection) | | Sets the section this menu item should belong in. To find the section IDs of an existing menu, inspect the DOM elements to see their <code>data-section</code> attribute. |
| [`setTitle(title)`](MenuItem/setTitle) | | |
| [`setWarning(isWarning)`](MenuItem/setWarning) | | |