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

Unable to listen for dialog events #1358

Open
kartikwatwani opened this issue Jul 7, 2020 · 0 comments
Open

Unable to listen for dialog events #1358

kartikwatwani opened this issue Jul 7, 2020 · 0 comments

Comments

@kartikwatwani
Copy link

kartikwatwani commented Jul 7, 2020

I am unable to listen for MDCDialog:closed event. I am adding a listener as shown below

        this.dialog.MDComponent.listen("MDCDialog:closed",function(){
          console.log('MDCDialog:closed');
        });
        this.dialog.MDComponent.listen("MDCDialog:closing",function(){
          console.log('MDCDialog:closing');
        })

        this.dialog.MDComponent.listen("MDCDialog:opening",function(){
          console.log('MDCDialog:opening');
        });
        this.dialog.MDComponent.listen("MDCDialog:opened",function(){
          console.log('MDCDialog:opened');
        });

None of the above listeners are firing. Can you help me solve this issue or tell me possible things that I might be doing wrong while adding the listeners? Thank You.

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