<countdown #cd [config]="config"></countdown> @ViewChild('cd', { static: false }) private countdown: CountdownComponent; this.countdown.begin(); this.countdown.restart(); this.countdown.stop(); this.countdown.pause(); this.countdown.resume();