NbMenuItem Support for Router State
オープン
enhancement
module:components
- 主要言語
- 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:**
The NbMenuItem currently only supports queryParams to pass date between routes
**Expected behavior:**
Since Angular 7.2 there is a state to pass data between routes
**Related code:**
```
this.router.navigateByUrl('/123', { state: { hello: 'world' } });
....
const greeting = window.history.state.hello;
```
### Other information:
Link: https://netbasal.com/set-state-object-when-navigating-in-angular-7-2-b87c5b977bb
コントリビューションガイド
評価
この issue はまだ評価されていません。