Skip to content

Unable to listen for dialog events #1358

Open
@kartikwatwani

Description

@kartikwatwani

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions