Handles click events on the item.
(event: MouseEvent)
| 184 | |
| 185 | /** Handles click events on the item. */ |
| 186 | protected _handleClick(event: MouseEvent) { |
| 187 | if (this.disabled) { |
| 188 | event.preventDefault(); |
| 189 | event.stopPropagation(); |
| 190 | } else { |
| 191 | this.trigger(); |
| 192 | } |
| 193 | } |
| 194 | |
| 195 | /** |
| 196 | * Handles keyboard events for the menu item, specifically either triggering the user defined |