You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.
I have two different components e.g "search_form" and "search_results". In my "search_form" i have input button and by clicking it, that will call a function "clickMe()" of "search_results" components. how can i do that in Angular Dart?
Hi
I have two different components e.g "search_form" and "search_results". In my "search_form" i have input button and by clicking it, that will call a function "clickMe()" of "search_results" components. how can i do that in Angular Dart?
search_form_component:
<div class="form-group"> <button type="button" class="btn btn-primary" (click)="clickMe()">Search</button> </div>
search_results_component:
class SearchResultsComponent {
void clickMe(){
print("Button clicked.");
}
}
app_component.html:
<search-form></search-form> <search-results></search-results>
Thanks
The text was updated successfully, but these errors were encountered: