How to set state variable in nb route tabset to send additional parameters to another component
- 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ả
> ` Below is my code attached and need to add state variable to route. How can I do this. Please help.
this.tabs = [
{
title: 'Summary',
route: 'patient-summary/' + id,
},
{
title: 'Timeline',
route: 'timeline',
},
{
title: 'History',
route: 'history/'+ id,state:{hello:'hello123'}
},
{
title: 'Consult',
route: 'consult',
},
];
### Issue type
**I'm submitting a ...** (check one with "x")
* [ ] bug report
* [ ] feature request
### Issue description
**Current behavior:**
**Expected behavior:**
**Steps to reproduce:**
**Related code:**
```
insert short code snippets here
```
### Other information:
**npm, node, OS, Browser**
```
```
**Angular, Nebular**
```
```
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.