Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Triggering function before @HostListener('onOpen') is triggered. #234

Open
brocktubre opened this issue Feb 28, 2018 · 0 comments
Open

Triggering function before @HostListener('onOpen') is triggered. #234

brocktubre opened this issue Feb 28, 2018 · 0 comments

Comments

@brocktubre
Copy link

Currently I am capturing the opening of a modal instance through a directive using the following:

  @HostListener('onOpen')
  public onOpen() {
    // this triggers AFTER the modal opens
  }

This is triggered only once the modal opens.

My question is, is there a way to trigger a function BEFORE the @HostListener('onOpen') is triggered (BEFORE the modal actually opens)?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant