File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
adev-ja/src/content/guide Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ CRITICAL: リクエストまたはレスポンスの本文は、深い変更か
8585
8686## インターセプターでの依存性の注入
8787
88- インターセプターは、インターセプターを登録したインジェクターの _ 注入コンテキスト_ で実行され、Angularの` inject ` APIを使用して依存関係を取得できます。
88+ インターセプターは、インターセプターを登録したインジェクターの _ 注入コンテキスト_ で実行され、Angularの[ ` inject ` ] ( /api/core/inject ) APIを使用して依存関係を取得できます。
8989
9090たとえば、アプリケーションに ` AuthService ` というサービスがあり、このサービスが送信リクエストの認証トークンを作成するとします。インターセプターは、このサービスを注入して使用できます。
9191
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ TIP: Angularプロジェクトで個別のTypeScriptファイルを作成する
2626| ` UrlTree ` or ` RedirectCommand ` | ブロックする代わりに別のルートにリダイレクトします |
2727| ` Promise<T> ` or ` Observable<T> ` | ルーターは最初に発行された値を使用し、その後購読を解除します |
2828
29- Note : ` CanMatch ` は異なる動作をします — ` false ` を返すと、Angularはナビゲーションを完全にブロックする代わりに、他のマッチするルートを試行します。
29+ NOTE : ` CanMatch ` は異なる動作をします — ` false ` を返すと、Angularはナビゲーションを完全にブロックする代わりに、他のマッチするルートを試行します。
3030
3131## ルートガードの種類 {#types-of-route-guards}
3232
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ effect(() => {
124124
125125### 注入コンテキスト
126126
127- デフォルトでは、[ インジェクションコンテキスト] ( guide/di/dependency-injection-context ) 内(` inject ` 関数にアクセスできる場所)でのみ` effect() ` を作成できます。この要件を満たす最も簡単な方法は、コンポーネント、ディレクティブ、またはサービスの` constructor ` 内で` effect ` を呼び出すことです。
127+ デフォルトでは、[ インジェクションコンテキスト] ( guide/di/dependency-injection-context ) 内([ ` inject ` ] ( /api/core/inject ) 関数にアクセスできる場所)でのみ` effect() ` を作成できます。この要件を満たす最も簡単な方法は、コンポーネント、ディレクティブ、またはサービスの` constructor ` 内で` effect ` を呼び出すことです。
128128
129129``` ts
130130@Component ({... })
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ NgTemplateOutletの詳細については、[NgTemplateOutlets API ドキュメ
8080``` angular-html
8181<ng-container *ngIf="permissions == 'admin'">
8282 <h1>Admin Dashboard</h1>
83- <admin-infographic></admin-infographic >
83+ <admin-infographic / >
8484</ng-container>
8585
8686<ng-container *ngFor="let item of items; index as i; trackBy: trackByFn">
You can’t perform that action at this time.
0 commit comments