diff --git a/aio-ja/content/guide/pipe-template.en.md b/aio-ja/content/guide/pipe-template.en.md new file mode 100644 index 0000000000..c532ebc831 --- /dev/null +++ b/aio-ja/content/guide/pipe-template.en.md @@ -0,0 +1,16 @@ +# Using a pipe in a template + +To apply a pipe, use the pipe operator (`|`) within a template expression as shown in the following code example. + + + +The component's `birthday` value flows through the pipe operator (`|`) to the [`DatePipe`](api/common/DatePipe) whose pipe name is `date`. +The pipe renders the date in the default format as **Apr 15, 1988**. + +Look at the component class. + + + +Because this is a [standalone component](guide/standalone-components), it imports the `DatePipe` from `@angular/common`, the source of all built-in pipes. + +@reviewed 2023-08-14 diff --git a/aio-ja/content/guide/pipe-template.md b/aio-ja/content/guide/pipe-template.md index c532ebc831..a6f32bd9fd 100644 --- a/aio-ja/content/guide/pipe-template.md +++ b/aio-ja/content/guide/pipe-template.md @@ -1,16 +1,16 @@ -# Using a pipe in a template +# テンプレート内でのパイプの使用 -To apply a pipe, use the pipe operator (`|`) within a template expression as shown in the following code example. +パイプを適用するために、次のコードの例に示されるように、テンプレート式内部でパイプ演算子(`|`)を使用します。 -The component's `birthday` value flows through the pipe operator (`|`) to the [`DatePipe`](api/common/DatePipe) whose pipe name is `date`. -The pipe renders the date in the default format as **Apr 15, 1988**. +`birthday`の値はパイプ演算子(`|`)を通じてnameが`date`の[`DatePipe`](api/common/DatePipe)に流れます。 +パイプはdateをデフォルトフォーマットの**Apr 15, 1988**に変換します。 -Look at the component class. +コンポーネントクラスを見てください。 -Because this is a [standalone component](guide/standalone-components), it imports the `DatePipe` from `@angular/common`, the source of all built-in pipes. +これは[スタンドアロンコンポーネント](guide/standalone-components)のため、すべての組み込みパイプの源である`@angular/common`から`DatePipe`をインポートします。 @reviewed 2023-08-14