From 9977727f736f1fb0c12be9bf435b34cb2b8bbb52 Mon Sep 17 00:00:00 2001 From: Aristeidis Bampakos Date: Sun, 20 Aug 2023 09:41:54 +0300 Subject: [PATCH] docs: fix typos in inputs-outputs guide (#51428) PR Close #51428 --- aio/content/guide/inputs-outputs.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/aio/content/guide/inputs-outputs.md b/aio/content/guide/inputs-outputs.md index 6263110ba8a..14d22aa024f 100644 --- a/aio/content/guide/inputs-outputs.md +++ b/aio/content/guide/inputs-outputs.md @@ -210,7 +210,7 @@ To combine property and event bindings using the banana-in-a-box syntax, `[()]`, ## Additional Configurations ### Configuring the child component input as required field -To make `Input` property as required for a child component while passing values from parent component. first import `Input` and then decorate the property with `@Input({ required: true })`, as in the following example. +To make `Input` property as required for a child component while passing values from parent component, first import `Input` and then decorate the property with `@Input({ required: true })`, as in the following example: @@ -218,7 +218,7 @@ Next, in the parent template add the following: -If required inputs `property binding` in a child component are not specified in the parent component template will result a compile time error : +If required inputs in a child component are not specified in the parent component template will result a compile time error:
NG8008: Required input item from component ItemDetailMetadataComponent must be specified. @@ -226,13 +226,13 @@ NG8008: Required input item from component ItemDetailMetadataComponent must be s ### Configuring the child component input with transform functions -To transform an `Input` property from string to boolean to a child component while passing values from parent component. first import `booleanAttribute` and then decorate the property with `@Input({ transform: booleanAttribute })`, as in the following example. +To transform an `Input` property from string to boolean to a child component while passing values from parent component. first import `booleanAttribute` and then decorate the property with `@Input({ transform: booleanAttribute })`, as in the following example: -Similarly, you can use predefined functions from angular/core library to convert string to number as well, see `numberAttribute`. +Similarly, you can use predefined functions from the `angular/core` library to convert string to number as well, see `numberAttribute`. @@ -240,4 +240,4 @@ Similarly, you can use predefined functions from angular/core library to convert -@reviewed 2022-02-28 +@reviewed 2023-08-20