angular directive input and output code example
Example: angular directive output
// just use it normal
@Output() itch:EventEmitter<any> = new EventEmitter();
//and call in html
<div appCollar (itch)='scratch()' >
// just use it normal
@Output() itch:EventEmitter<any> = new EventEmitter();
//and call in html
<div appCollar (itch)='scratch()' >