akveo / akveo/nebular

How to set state variable in nb route tabset to send additional parameters to another component

Đang mở
#2,491 0 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ả

> ` 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

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.