{"id":1126,"date":"2023-09-13T21:10:29","date_gmt":"2023-09-13T19:10:29","guid":{"rendered":"https:\/\/epicmarketing.co.il\/notebook\/?p=1126"},"modified":"2023-09-13T21:12:33","modified_gmt":"2023-09-13T19:12:33","slug":"component-interaction","status":"publish","type":"post","link":"https:\/\/epicmarketing.co.il\/notebook\/component-interaction\/","title":{"rendered":"Component interaction"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Parent to child<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05e6\u05d4\u05e8\u05d4 \u05e2\u05dc \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05d1\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05dc \u05d4-parent.<\/p>\n\n\n\n<p class=\"has-luminous-vivid-orange-color has-text-color wp-block-paragraph\"><strong>Parent ts file<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\npublic name = &#039;Dani&#039;;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e9\u05dc\u05d9\u05d7\u05ea \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05dc-child \u05db\u05e9\u05e7\u05d5\u05e8\u05d0\u05d9\u05dd \u05dc\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05dc \u05d4-child \u05dc\u05ea\u05d5\u05da \u05de\u05e9\u05ea\u05e0\u05d4 parentData \u05e9\u05dc \u05d4-child.<\/p>\n\n\n\n<p class=\"has-luminous-vivid-orange-color has-text-color wp-block-paragraph\"><strong>Parent html file<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;app-child &#x5B;parentData]=&quot;name&quot;&gt;&lt;\/app-child&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e7\u05d1\u05dc\u05ea \u05d4\u05e2\u05e8\u05da \u05e9\u05dc \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05e2\u05dc \u05d9\u05d3\u05d9 \u05d4\u05d2\u05d3\u05e8\u05ea \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05db-Input \u05d1-child.<\/p>\n\n\n\n<p class=\"has-vivid-cyan-blue-color has-text-color wp-block-paragraph\"><strong>Child ts file<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n@Input() public parentData;\n\/\/ We can give parentData alias name\n@Input(parentData) public name;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e9\u05d9\u05de\u05d5\u05e9 \u05d1\u05e2\u05e8\u05da \u05e9\u05e7\u05d1\u05dc\u05e0\u05d5 \u05d1-child \u05d1\u05ea\u05d5\u05da \u05d4\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05dc \u05d4-child.<\/p>\n\n\n\n<p class=\"has-vivid-cyan-blue-color has-text-color wp-block-paragraph\"><strong>Child html file<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;h2&gt;Hello {{ parentData }}&lt;\/h2&gt;\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05d3\u05d5\u05d2\u05de\u05d0 \u05e9\u05dc filter<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u05ea\u05d0\u05d5\u05e8<\/strong>&nbsp;\u05d9\u05e9 \u05dc\u05e0\u05d5 \u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05dc \u05de\u05d5\u05e6\u05e8\u05d9\u05dd \u05e9\u05de\u05db\u05d9\u05dc \u05d2\u05e8\u05d9\u05d3 \u05e9\u05dc \u05de\u05d5\u05e6\u05e8\u05d9\u05dd. \u05d0\u05e0\u05d7\u05e0\u05d5 \u05e8\u05d5\u05e6\u05d9\u05dd \u05dc\u05e9\u05d9\u05dd \u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05dc \u05e4\u05d9\u05dc\u05d8\u05e8 \u05dc\u05de\u05d5\u05e6\u05e8\u05d9\u05dd. \u05dc\u05db\u05dc \u05e7\u05d8\u05d2\u05d5\u05e8\u05d9\u05d4 \u05d1\u05e4\u05d9\u05dc\u05d8\u05e8 \u05d9\u05d4\u05d9\u05d4 \u05d0\u05ea \u05de\u05e1\u05e4\u05e8 \u05d4\u05de\u05d5\u05e6\u05e8\u05d9\u05dd \u05e9\u05d9\u05e9 \u05d1\u05e7\u05d8\u05d2\u05d5\u05e8\u05d9\u05d4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e0\u05d7\u05e0\u05d5 \u05e6\u05e8\u05d9\u05db\u05d9\u05dd \u05dc\u05d4\u05e2\u05d1\u05d9\u05e8 \u05de\u05d9\u05d3\u05e2 \u05de\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05d0\u05d1 \u05e9\u05dc \u05d4\u05de\u05d5\u05e6\u05e8\u05d9\u05dd \u05dc\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05d9\u05dc\u05d3 \u05e9\u05dc \u05d4\u05e4\u05d9\u05dc\u05d8\u05e8.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"parent-to-child---input\">Parent to child &#8211; Input<a href=\"https:\/\/angular-notebook.netlify.app\/docs\/components\/componrnts%20interaction#parent-to-child---input\">\u200b<\/a><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05ea\u05d7\u05d9\u05dc \u05de\u05d7\u05d9\u05e9\u05d5\u05d1 \u05e9\u05dc \u05de\u05e1\u05e4\u05e8 \u05d4\u05de\u05d5\u05e6\u05e8\u05d9\u05dd \u05d1\u05e7\u05d8\u05d2\u05d5\u05e8\u05d9\u05d9\u05ea \u05d4\u05d7\u05d9\u05e0\u05dd \u05d1\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05d0\u05d1.<\/p>\n\n\n\n<p class=\"has-luminous-vivid-orange-color has-text-color wp-block-paragraph\"><strong>Parent ts file<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\ngetTotalFreeCourse(){\n    return this.courses.filter(course =&gt; course.type == &#039;free&#039;).length;\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05d0\u05d1, \u05e0\u05e7\u05e8\u05d0 \u05dc\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05d1\u05df \u05e9\u05d4\u05d9\u05d0 \u05d4\u05e4\u05d9\u05dc\u05d8\u05e8.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05e2\u05d1\u05d9\u05e8 \u05d0\u05ea \u05d4\u05e2\u05e8\u05da \u05de\u05d7\u05d9\u05e9\u05d5\u05d1 \u05d4\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u05dc\u05de\u05e9\u05ea\u05e0\u05d4 free \u05e9\u05dc \u05d4\u05d1\u05df.<\/p>\n\n\n\n<p class=\"has-luminous-vivid-orange-color has-text-color wp-block-paragraph\"><strong>Parent html file<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;filter-app &#x5B;free]=&quot;getTotalFreeCourse()]&lt;\/filter-app&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05d1\u05df \u05e0\u05d2\u05d3\u05d9\u05e8 \u05d0\u05ea \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05e9\u05d9\u05db\u05d9\u05dc \u05d0\u05ea \u05d4\u05e2\u05e8\u05da \u05e9\u05e7\u05d1\u05dc\u05e0\u05d5.<\/p>\n\n\n\n<p class=\"has-vivid-cyan-blue-color has-text-color wp-block-paragraph\"><strong>Child ts file<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n@Input() public free;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e2\u05db\u05e9\u05d9\u05d5 \u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1\u05e2\u05e8\u05da \u05d1\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05d1\u05df<\/p>\n\n\n\n<p class=\"has-vivid-cyan-blue-color has-text-color wp-block-paragraph\"><strong>Child html file<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n{{ free }}\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\" id=\"child-to-parent---output\">Child to parent &#8211; Output<a href=\"https:\/\/angular-notebook.netlify.app\/docs\/components\/componrnts%20interaction#child-to-parent---output\">\u200b<\/a><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05db\u05d9\u05d5\u05d5\u05df \u05d4\u05e9\u05e0\u05d9 \u05d0\u05e0\u05d7\u05e0\u05d5 \u05e8\u05d5\u05e6\u05d9\u05dd \u05dc\u05d4\u05e2\u05d1\u05d9\u05e8 \u05d0\u05ea \u05d4\u05e2\u05e8\u05da \u05e9\u05e0\u05d1\u05d7\u05e8 \u05d1\u05e4\u05d9\u05dc\u05d8\u05e8 \u05dc\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05dc \u05d4\u05de\u05d5\u05e6\u05e8\u05d9\u05dd \u05db\u05d3\u05d9 \u05dc\u05d4\u05e6\u05d9\u05d2 \u05e8\u05e7 \u05d0\u05ea \u05d4\u05de\u05d5\u05e6\u05e8\u05d9\u05dd \u05e9\u05e0\u05d1\u05d7\u05e8\u05d5.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05d1\u05df, \u05d4\u05e4\u05d9\u05dc\u05d8\u05e8, \u05e0\u05d2\u05d3\u05d9\u05e8 \u05de\u05e9\u05ea\u05e0\u05d4 \u05e9\u05d9\u05d7\u05d6\u05d9\u05e7 \u05d0\u05ea \u05d4\u05d1\u05d7\u05d9\u05e8\u05d4 \u05e9\u05dc \u05d4\u05d2\u05d5\u05dc\u05e9.<\/p>\n\n\n\n<p class=\"has-vivid-cyan-blue-color has-text-color wp-block-paragraph\"><strong>Child ts file<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nselectedRadioButtonValue: string = &#039;all&#039;;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d2\u05d3\u05d9\u05e8 \u05d2\u05dd \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u05e9\u05ea\u05e4\u05e2\u05d9\u05dc \u05d8\u05e8\u05d9\u05d2\u05e8 \u05e9\u05dc \u05d0\u05d9\u05e8\u05d5\u05e2. \u05d4\u05d0\u05d9\u05e8\u05d5\u05e2 \u05d9\u05d5\u05e4\u05e2\u05dc \u05db\u05e9\u05ea\u05d4\u05d9\u05d4 \u05d1\u05d7\u05d9\u05e8\u05d4 \u05d1\u05e7\u05d8\u05d2\u05d5\u05e8\u05d9\u05d4.<\/p>\n\n\n\n<p class=\"has-vivid-cyan-blue-color has-text-color wp-block-paragraph\"><strong>Child ts file<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nselectedRadioButtonValue: string = &#039;all&#039;;\n\n@Output()\nfilterButtonSelectChange: EventEmitter&lt;string&gt; = new EventEmitter&lt;string&gt;();\n\nonButtonSelectedChange(){\n    this.filterButtonSelectChange.emit(this.selectedRadioButtonValue);\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05e7\u05d5\u05d1\u05e5 \u05d4-html \u05e0\u05e4\u05e2\u05d9\u05dc \u05d0\u05ea \u05d4\u05d8\u05e8\u05d9\u05d2\u05e8.<\/p>\n\n\n\n<p class=\"has-vivid-cyan-blue-color has-text-color wp-block-paragraph\"><strong>Child html file<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;input type=&quot;radio&quot; value=&quot;all&quot; &#x5B;(ngModel)]=&quot;selectedRadioButtonValue&quot; \n(change)=&quot;onButtonSelectedChange&quot;&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e6\u05e8\u05d9\u05da \u05dc\u05d9\u05d9\u05d1\u05d0 \u05d0\u05ea \u05de\u05d5\u05d3\u05dc \u05d4\u05d8\u05e4\u05e1\u05d9\u05dd \u05dc-app.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05d0\u05d1 \u05e0\u05d2\u05d3\u05d9\u05e8 \u05de\u05e9\u05ea\u05e0\u05d4 \u05e9\u05d9\u05e7\u05d1\u05dc \u05d0\u05ea \u05d4\u05d1\u05d7\u05d9\u05e8\u05d4 \u05e9\u05dc \u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05d5\u05e0\u05d2\u05d3\u05d9\u05e8 \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u05e9\u05ea\u05d5\u05e4\u05e2\u05dc \u05db\u05e9\u05d4\u05d0\u05d9\u05e8\u05d5\u05e2 \u05e2\u05d5\u05dc\u05d4 \u05de\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05d1\u05df.<\/p>\n\n\n\n<p class=\"has-luminous-vivid-orange-color has-text-color wp-block-paragraph\"><strong>Parent ts file<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\ncourseRadioSelectedFilter: string = &quot;all&quot;;\n\nonFilterRadioChanged(data: string){\n    this.courseRadioSelectedFilter = data;\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05d4\u05d5\u05e8\u05d4 \u05e0\u05d7\u05d1\u05e8 \u05d0\u05ea \u05d4\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u05db\u05e9\u05e7\u05d5\u05e8\u05d0\u05d9\u05dd \u05dc\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05e4\u05d9\u05dc\u05d8\u05e8 \u05e9\u05dc \u05d4\u05d1\u05df<\/p>\n\n\n\n<p class=\"has-luminous-vivid-orange-color has-text-color wp-block-paragraph\"><strong>Parent html file<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;filter-app &#x5B;free]=&quot;getTotalFreeCourse()&quot; \n(filterButtonSelectChange)=&quot;onFilterRadioChanged($event)&quot;&gt;&lt;\/filter-app&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e2\u05db\u05e9\u05d9\u05d5 \u05d0\u05e4\u05e9\u05e8 \u05dc\u05e4\u05dc\u05d8\u05e8 \u05d0\u05ea \u05d4\u05de\u05d5\u05e6\u05e8\u05d9\u05dd \u05d1\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05d0\u05d1. \u05d0\u05dd \u05d0\u05e0\u05d7\u05e0\u05d5 \u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd \u05d1-ngFor \u05db\u05d3\u05d9 \u05dc\u05d9\u05d9\u05e6\u05e8 \u05d0\u05ea \u05d4\u05de\u05d5\u05e6\u05e8\u05d9\u05dd, \u05d0\u05d9 \u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1-ngIf \u05e2\u05dc \u05d0\u05d5\u05ea\u05d5 \u05d0\u05dc\u05de\u05e0\u05d8 html. \u05e0\u05d6\u05d9\u05d6 \u05d4\u05d7\u05d5\u05e6\u05d4 \u05d0\u05ea \u05d4-for.<\/p>\n\n\n\n<p class=\"has-luminous-vivid-orange-color has-text-color wp-block-paragraph\"><strong>Parent html file<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;ng-container *ngFor=&quot;let course of courses&quot;&gt;\n    &lt;div class=&quot;course-container&quot; *ngIf=&quot;courseRadioSelectedFilter === &#039;all&#039; || \ncourseRadioSelectedFilter === course.type&quot;&gt;\n        ...\n    &lt;\/div&gt;\n&lt;\/ng-container&gt;\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Child to parent<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05e2\u05d1\u05e8\u05ea \u05de\u05d9\u05d3\u05e2 \u05de\u05d4\u05d9\u05dc\u05d3 \u05dc\u05d4\u05d5\u05e8\u05d4 \u05e2\u05dc \u05d9\u05d3\u05d9 \u05d0\u05d9\u05e8\u05d5\u05e2.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05d2\u05d3\u05e8\u05ea \u05de\u05e9\u05ea\u05e0\u05d4 \u05d4\u05d0\u05d9\u05e8\u05d5\u05e2 \u05d1\u05d9\u05dc\u05d3 \u05d5\u05d0\u05ea \u05d4\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u05e9\u05de\u05d8\u05e4\u05dc\u05ea \u05d1\u05d0\u05d9\u05e8\u05d5\u05e2.<\/p>\n\n\n\n<p class=\"has-vivid-cyan-blue-color has-text-color wp-block-paragraph\"><strong>Child ts file<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n@Output() public childEvent = new EventEmitter();\n\nfireEvent(){\n    this.childEvent.emit(&quot;Welcome to the class&quot;);\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05e4\u05e2\u05dc\u05ea \u05d4\u05d8\u05e8\u05d9\u05d2\u05e8 \u05e9\u05dc \u05d4\u05d0\u05d9\u05e8\u05d5\u05e2 \u05d1\u05ea\u05d1\u05e0\u05d9\u05ea \u05d4\u05d9\u05dc\u05d3<\/p>\n\n\n\n<p class=\"has-vivid-cyan-blue-color has-text-color wp-block-paragraph\"><strong>Child html file<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;button (click)=&quot;fireEvent()&quot;&gt;Send Event&lt;\/button&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05d2\u05d3\u05e8\u05ea \u05de\u05e9\u05ea\u05e0\u05d4 \u05e9\u05d9\u05e7\u05d1\u05dc \u05d0\u05ea \u05d4\u05e2\u05e8\u05da \u05d1\u05d4\u05d5\u05e8\u05d4.<\/p>\n\n\n\n<p class=\"has-luminous-vivid-orange-color has-text-color wp-block-paragraph\"><strong>Parent ts file<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\npublic message = &quot;&quot;;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e7\u05d1\u05dc\u05ea \u05d4\u05d0\u05d9\u05e8\u05d5\u05e2 \u05e9\u05dc \u05d4\u05d9\u05dc\u05d3 \u05d1\u05e7\u05e8\u05d9\u05d0\u05d4 \u05dc\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05dc \u05d4\u05d9\u05dc\u05d3 \u05d5\u05e9\u05d9\u05de\u05d5\u05e9 \u05d1\u05e2\u05e8\u05da \u05d4\u05de\u05e9\u05ea\u05e0\u05d4<\/p>\n\n\n\n<p class=\"has-luminous-vivid-orange-color has-text-color wp-block-paragraph\"><strong>Parent html file<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;app-child (childEvent)=&quot;message=$event&quot;&gt;&lt;\/app-child&gt;\n&lt;h2&gt;{{ message }}&lt;\/h2&gt;\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05d3\u05d5\u05d2\u05de\u05d0 \u05e9\u05dc \u05d7\u05d9\u05e4\u05d5\u05e9<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05d0\u05d1 \u05de\u05db\u05d9\u05e8\u05d4 \u05de\u05d5\u05e6\u05e8\u05d9\u05dd, \u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05d1\u05df \u05d4\u05d9\u05d0 \u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05d7\u05d9\u05e4\u05d5\u05e9.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"child-to-parent-1\">Child to parent<a href=\"https:\/\/angular-notebook.netlify.app\/docs\/components\/componrnts%20interaction#child-to-parent-1\">\u200b<\/a><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05d2\u05d3\u05e8\u05ea \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05e9\u05d9\u05d7\u05d6\u05d9\u05e7 \u05d0\u05ea \u05de\u05d9\u05dc\u05ea \u05d4\u05d7\u05d9\u05e4\u05d5\u05e9, \u05d9\u05e6\u05d9\u05e8\u05ea \u05d4\u05d0\u05d9\u05e8\u05d5\u05e2 \u05e9\u05d9\u05d7\u05d6\u05d9\u05e7 \u05d0\u05ea \u05d4\u05e9\u05d9\u05e0\u05d5\u05d9 \u05d1\u05de\u05d9\u05dc\u05ea \u05d4\u05d7\u05d9\u05e4\u05d5\u05e9 \u05e9\u05dc \u05d4\u05d9\u05dc\u05d3.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d9\u05e6\u05d9\u05e8\u05ea \u05d4\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u05e9\u05de\u05e4\u05e2\u05d9\u05dc\u05d4 \u05d0\u05ea \u05d4\u05d0\u05d9\u05e8\u05d5\u05e2.<\/p>\n\n\n\n<p class=\"has-vivid-cyan-blue-color has-text-color wp-block-paragraph\"><strong>Child search.ts<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nenteredSearchValue: string = &#039;&#039;;\n@Output()\n  searchTextChanged: EventEmitter&lt;string&gt; = new EventEmitter&lt;string&gt;();\n\nonSearchTextChange(){\n    this.searchTextChanged.emit(this.enteredSearchValue);\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05e4\u05e2\u05d9\u05dc \u05d0\u05ea \u05d4\u05d0\u05d9\u05e8\u05d5\u05e2 \u05db\u05e9\u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05d9\u05e7\u05dc\u05d9\u05d3 \u05e2\u05e8\u05da \u05dc\u05d7\u05d9\u05e4\u05d5\u05e9<\/p>\n\n\n\n<p class=\"has-vivid-cyan-blue-color has-text-color wp-block-paragraph\"><strong>Child search.html<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;div class=&quot;search-container&quot;&gt;\n  &lt;span&gt;Search: &lt;\/span&gt;\n  &lt;input type=&quot;text&quot; &#x5B;(ngModel)]=&quot;enteredSearchValue&quot; (input)=&quot;onSearchTextChange()&quot;&gt;\n&lt;\/div&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05d0\u05d1 \u05e0\u05d2\u05d3\u05d9\u05e8 \u05de\u05e9\u05ea\u05e0\u05d4 \u05dc\u05e7\u05d1\u05dc \u05d0\u05ea \u05d4\u05e2\u05e8\u05da \u05e9\u05d6\u05e8\u05e7 \u05d4\u05d0\u05d9\u05e8\u05d5\u05e2.<\/p>\n\n\n\n<p class=\"has-luminous-vivid-orange-color has-text-color wp-block-paragraph\"><strong>Parent products.ts<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nsearchText: string = &#039;&#039;;\n\nonSearchTextEntered(searchValue: string){\n    this.searchText = searchValue;\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05e7\u05e8\u05d0 \u05dc\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05d1\u05df \u05d5\u05e0\u05e7\u05d1\u05dc \u05d0\u05ea \u05d4\u05d0\u05d9\u05e8\u05d5\u05e2 \u05de\u05de\u05e0\u05d4, \u05e0\u05e9\u05ea\u05de\u05e9 \u05d1\u05e2\u05e8\u05da \u05e9\u05e0\u05db\u05e0\u05e1 \u05dc\u05de\u05d7\u05e8\u05d5\u05d6\u05ea \u05d4\u05d7\u05d9\u05e4\u05d5\u05e9 \u05e2\u05dc \u05de\u05e0\u05ea \u05dc\u05e1\u05e0\u05df \u05d0\u05ea \u05d4\u05ea\u05d5\u05e6\u05d0\u05d5\u05ea \u05e9\u05d0\u05e0\u05d7\u05e0\u05d5 \u05de\u05e6\u05d9\u05d2\u05d9\u05dd.<\/p>\n\n\n\n<p class=\"has-luminous-vivid-orange-color has-text-color wp-block-paragraph\"><strong>Parent products.html<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;app-search (searchTextChanged)=&quot;onSearchTextEntered($event)&quot;&gt;&lt;\/app-search&gt;\n\n&lt;ng-container *ngFor=&quot;let product of products&quot;&gt;\n  &lt;div class=&quot;product-container&quot; *ngIf=&quot;searchText === &#039;&#039; || \nproduct.name.toLowerCase().includes(searchText)&quot;&gt;\n\n  &lt;\/div&gt;\n&lt;\/ng-container&gt;\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Parent to child \u05d4\u05e6\u05d4\u05e8\u05d4 \u05e2\u05dc \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05d1\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05dc \u05d4-parent. Parent ts file \u05e9\u05dc\u05d9\u05d7\u05ea \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05dc-child \u05db\u05e9\u05e7\u05d5\u05e8\u05d0\u05d9\u05dd \u05dc\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05dc \u05d4-child \u05dc\u05ea\u05d5\u05da \u05de\u05e9\u05ea\u05e0\u05d4 parentData \u05e9\u05dc \u05d4-child. Parent html file \u05e7\u05d1\u05dc\u05ea \u05d4\u05e2\u05e8\u05da \u05e9\u05dc \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05e2\u05dc \u05d9\u05d3\u05d9 \u05d4\u05d2\u05d3\u05e8\u05ea \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05db-Input \u05d1-child. Child ts file \u05e9\u05d9\u05de\u05d5\u05e9 \u05d1\u05e2\u05e8\u05da \u05e9\u05e7\u05d1\u05dc\u05e0\u05d5 \u05d1-child \u05d1\u05ea\u05d5\u05da \u05d4\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05dc \u05d4-child. Child html file \u05d3\u05d5\u05d2\u05de\u05d0 \u05e9\u05dc filter \u05ea\u05d0\u05d5\u05e8&nbsp;\u05d9\u05e9 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"off","ocean_gallery_id":[],"footnotes":""},"categories":[29,30],"tags":[],"class_list":["post-1126","post","type-post","status-publish","format-standard","hentry","category-angular-docs","category-ngdocs-components","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Component interaction - Code Notebook<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/epicmarketing.co.il\/notebook\/component-interaction\/\" \/>\n<meta property=\"og:locale\" content=\"he_IL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Component interaction - Code Notebook\" \/>\n<meta property=\"og:description\" content=\"Parent to child \u05d4\u05e6\u05d4\u05e8\u05d4 \u05e2\u05dc \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05d1\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05dc \u05d4-parent. Parent ts file \u05e9\u05dc\u05d9\u05d7\u05ea \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05dc-child \u05db\u05e9\u05e7\u05d5\u05e8\u05d0\u05d9\u05dd \u05dc\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05dc \u05d4-child \u05dc\u05ea\u05d5\u05da \u05de\u05e9\u05ea\u05e0\u05d4 parentData \u05e9\u05dc \u05d4-child. Parent html file \u05e7\u05d1\u05dc\u05ea \u05d4\u05e2\u05e8\u05da \u05e9\u05dc \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05e2\u05dc \u05d9\u05d3\u05d9 \u05d4\u05d2\u05d3\u05e8\u05ea \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05db-Input \u05d1-child. Child ts file \u05e9\u05d9\u05de\u05d5\u05e9 \u05d1\u05e2\u05e8\u05da \u05e9\u05e7\u05d1\u05dc\u05e0\u05d5 \u05d1-child \u05d1\u05ea\u05d5\u05da \u05d4\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05dc \u05d4-child. Child html file \u05d3\u05d5\u05d2\u05de\u05d0 \u05e9\u05dc filter \u05ea\u05d0\u05d5\u05e8&nbsp;\u05d9\u05e9 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/epicmarketing.co.il\/notebook\/component-interaction\/\" \/>\n<meta property=\"og:site_name\" content=\"Code Notebook\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-13T19:10:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-13T19:12:33+00:00\" \/>\n<meta name=\"author\" content=\"kerendanino\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u05e0\u05db\u05ea\u05d1 \u05e2\u05dc \u05d9\u05d3\" \/>\n\t<meta name=\"twitter:data1\" content=\"kerendanino\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u05d6\u05de\u05df \u05e7\u05e8\u05d9\u05d0\u05d4 \u05de\u05d5\u05e2\u05e8\u05da\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u05d3\u05e7\u05d5\u05ea\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/component-interaction\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/component-interaction\\\/\"},\"author\":{\"name\":\"kerendanino\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/person\\\/195dfc625818eadda7903d456890e24c\"},\"headline\":\"Component interaction\",\"datePublished\":\"2023-09-13T19:10:29+00:00\",\"dateModified\":\"2023-09-13T19:12:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/component-interaction\\\/\"},\"wordCount\":105,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\"},\"articleSection\":[\"Angular Documentation\",\"\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d5\u05ea - Components\"],\"inLanguage\":\"he-IL\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/component-interaction\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/component-interaction\\\/\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/component-interaction\\\/\",\"name\":\"Component interaction - Code Notebook\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#website\"},\"datePublished\":\"2023-09-13T19:10:29+00:00\",\"dateModified\":\"2023-09-13T19:12:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/component-interaction\\\/#breadcrumb\"},\"inLanguage\":\"he-IL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/component-interaction\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/component-interaction\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Component interaction\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#website\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\",\"name\":\"Code Notebook\",\"description\":\"Easy coding\",\"publisher\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"he-IL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\",\"name\":\"Code Notebook\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-epic-marketing-05.png\",\"contentUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-epic-marketing-05.png\",\"width\":3626,\"height\":1942,\"caption\":\"Code Notebook\"},\"image\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/person\\\/195dfc625818eadda7903d456890e24c\",\"name\":\"kerendanino\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"caption\":\"kerendanino\"},\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/author\\\/kerendanino\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Component interaction - Code Notebook","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/epicmarketing.co.il\/notebook\/component-interaction\/","og_locale":"he_IL","og_type":"article","og_title":"Component interaction - Code Notebook","og_description":"Parent to child \u05d4\u05e6\u05d4\u05e8\u05d4 \u05e2\u05dc \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05d1\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05dc \u05d4-parent. Parent ts file \u05e9\u05dc\u05d9\u05d7\u05ea \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05dc-child \u05db\u05e9\u05e7\u05d5\u05e8\u05d0\u05d9\u05dd \u05dc\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05dc \u05d4-child \u05dc\u05ea\u05d5\u05da \u05de\u05e9\u05ea\u05e0\u05d4 parentData \u05e9\u05dc \u05d4-child. Parent html file \u05e7\u05d1\u05dc\u05ea \u05d4\u05e2\u05e8\u05da \u05e9\u05dc \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05e2\u05dc \u05d9\u05d3\u05d9 \u05d4\u05d2\u05d3\u05e8\u05ea \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05db-Input \u05d1-child. Child ts file \u05e9\u05d9\u05de\u05d5\u05e9 \u05d1\u05e2\u05e8\u05da \u05e9\u05e7\u05d1\u05dc\u05e0\u05d5 \u05d1-child \u05d1\u05ea\u05d5\u05da \u05d4\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05dc \u05d4-child. Child html file \u05d3\u05d5\u05d2\u05de\u05d0 \u05e9\u05dc filter \u05ea\u05d0\u05d5\u05e8&nbsp;\u05d9\u05e9 [&hellip;]","og_url":"https:\/\/epicmarketing.co.il\/notebook\/component-interaction\/","og_site_name":"Code Notebook","article_published_time":"2023-09-13T19:10:29+00:00","article_modified_time":"2023-09-13T19:12:33+00:00","author":"kerendanino","twitter_card":"summary_large_image","twitter_misc":{"\u05e0\u05db\u05ea\u05d1 \u05e2\u05dc \u05d9\u05d3":"kerendanino","\u05d6\u05de\u05df \u05e7\u05e8\u05d9\u05d0\u05d4 \u05de\u05d5\u05e2\u05e8\u05da":"3 \u05d3\u05e7\u05d5\u05ea"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/epicmarketing.co.il\/notebook\/component-interaction\/#article","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/component-interaction\/"},"author":{"name":"kerendanino","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/person\/195dfc625818eadda7903d456890e24c"},"headline":"Component interaction","datePublished":"2023-09-13T19:10:29+00:00","dateModified":"2023-09-13T19:12:33+00:00","mainEntityOfPage":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/component-interaction\/"},"wordCount":105,"commentCount":0,"publisher":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization"},"articleSection":["Angular Documentation","\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d5\u05ea - Components"],"inLanguage":"he-IL","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/epicmarketing.co.il\/notebook\/component-interaction\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/epicmarketing.co.il\/notebook\/component-interaction\/","url":"https:\/\/epicmarketing.co.il\/notebook\/component-interaction\/","name":"Component interaction - Code Notebook","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#website"},"datePublished":"2023-09-13T19:10:29+00:00","dateModified":"2023-09-13T19:12:33+00:00","breadcrumb":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/component-interaction\/#breadcrumb"},"inLanguage":"he-IL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/epicmarketing.co.il\/notebook\/component-interaction\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/epicmarketing.co.il\/notebook\/component-interaction\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/epicmarketing.co.il\/notebook\/"},{"@type":"ListItem","position":2,"name":"Component interaction"}]},{"@type":"WebSite","@id":"https:\/\/epicmarketing.co.il\/notebook\/#website","url":"https:\/\/epicmarketing.co.il\/notebook\/","name":"Code Notebook","description":"Easy coding","publisher":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/epicmarketing.co.il\/notebook\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"he-IL"},{"@type":"Organization","@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization","name":"Code Notebook","url":"https:\/\/epicmarketing.co.il\/notebook\/","logo":{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/logo\/image\/","url":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/07\/logo-epic-marketing-05.png","contentUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/07\/logo-epic-marketing-05.png","width":3626,"height":1942,"caption":"Code Notebook"},"image":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/person\/195dfc625818eadda7903d456890e24c","name":"kerendanino","image":{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","caption":"kerendanino"},"url":"https:\/\/epicmarketing.co.il\/notebook\/author\/kerendanino\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/1126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/comments?post=1126"}],"version-history":[{"count":5,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/1126\/revisions"}],"predecessor-version":[{"id":1131,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/1126\/revisions\/1131"}],"wp:attachment":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/media?parent=1126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/categories?post=1126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/tags?post=1126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}