Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APP] Host Listener for internal links #1

Open
musicEnfanthen opened this issue May 3, 2019 · 0 comments
Open

[APP] Host Listener for internal links #1

musicEnfanthen opened this issue May 3, 2019 · 0 comments

Comments

@musicEnfanthen
Copy link
Member

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')}
}
@musicEnfanthen musicEnfanthen changed the title Host Listener for internal links [APP] Host Listener for internal links Oct 15, 2024
musicEnfanthen added a commit that referenced this issue Nov 7, 2024
* add sketch edition M322_Sk3

* check group-Ids etc.

* adjust Skizzenkommentar for M 322 Sk3.

* adjust titles in svg #1 + #2

* Update src/assets/data/edition/series/1/section/5/op25/textcritics.json

Co-authored-by: Stefan Münnich <[email protected]>

---------

Co-authored-by: Stefan Münnich <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant