input要素で入力した時、エンターキーでsubmitできれば便利だと思います。ただ日本語の場合、単純にエンターだけを拾うと、文字変換する際のエンターでイベント着火してしまいます。 加えてAngularでは日本語変換を検知する簡単な方法は無さそうで、自前で ...
Appフォルダ内にあるProductListを展開し、product-list.component.htmlをクリックしてください。 タグの仕組み HTMLでは、内容をタグで囲んで記述します。 product-list.component.cssをクリックします。 スタイルの設定 例: H1タグの色を赤く、文字サイズを大きくする。
This blog helps you to create a nested angular nested component and pass data between parent and child components. For passing data you will use Input() and Output() decorator.