akveo / akveo/nebular

Custom component (or HTML) instead of menu title

Đang mở
#2,499 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
8.1k
Fork
1.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Issue type

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

* [x] bug report
* [ ] feature request

### Issue description
It is not possible to place a custom component or at least HTML tags within the menu item. Currently the interface allow only string (title) ...

I would appreciate an example code to solve this limitation, even if it contains extending nebular framework classes.

Thx, Yohay

**Current behavior:**
menu item expect title, icon, link .... but not html string or angular component. So, there is no way to place at a menu button badge or anything other than string

**Expected behavior:**
Expecting to be able to initiate menu item with:
html:

Hello


or
component:

Please advice,
Yohay

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.