akveo / akveo/nebular

NbMenuItem Support for Router State

オープン
#1,484 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。