-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
import { ..., HostListener } from '@angular/core';
// TODO: maybe implement features from events by hostlistener ...
@HostListener('click', ['$event'])
onClick(event) {
if (event.target.parentElement.classList[0] === 'fuuws') {
// HERE THINGS CAN BE ADDED §
console.log('opening detail dialog with ' + event.target.firstChild.data );
console.log( event.target );
this.openDetailsDialog(event.target.firstChild.data);
} // else {console.log('actions on cells disabled or no action defined')}
}
Metadata
Metadata
Assignees
Labels
No labels