code into child component mycomponent.ts
import { Component, OnInit , EventEmitter, Output } from \'@angular/core\';
@Component({
selector: \'app-mycomponent\
During the click event of the child, one might want to notify the parent component that the child is being clicked. That is why we listen to the clicked event of the child in the parent. But the action that has to be done can (in your case it is to set some local state of a member) be done in either of the parent or the child depending on the app's need and properties that have to read or modified [because they might be present either the child or parent depending on the app architecture].
If you prefer the parent component need not the notified by the child's click, its better you don't listen to it and make appropriate changes in the child event listener itself.