akveo / akveo/nebular

[Menu] Need ID Property for NbMenuItem

未关闭
#624 3 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看
enhancement module:theme P2: important
主要语言
TypeScript
星标
8.1k
派生
1.5k
PR 合并指标
30 天内没有已合并 PR

描述

### Issue type

**I'm submitting a ...** (check one with "x")

* [ ] bug report
* [x] feature request

### Issue description

**Current behavior:**
Currently the NbMenuItem class does not have an ID property or other property to uniquely identify a menu item. This is necessary to remove menus dynamically or change their properties.

**Expected behavior:**
To have an ID property in the NbMenuItem class.

**Steps to reproduce:**
N/A

**Related code:**
N/A

### Other information:

**npm, node, OS, Browser**
```
Node: v9.3.0
NPM: 6.0.0
OS: Windows 10
Browser: Chrome, Safari
```

**Angular, Nebular**
```
Angular: 5.1.0
Nebular: 2.0.0-rc.7
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。