How to set state variable in nb route tabset to send additional parameters to another component
- 主要语言
- TypeScript
- 星标
- 8.1k
- 派生
- 1.5k
- PR 合并指标
- 30 天内没有已合并 PR
描述
> ` 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**
```
```
贡献指南
评估
这个 Issue 还没有评估数据。