Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Catch the click event on the entire message #11

@coreation

Description

@coreation

Hi there,
I have a question, is it possible to make a custom handler for the click event on the message?
I see that notification component is emitting a "close" event, but it stops at the notifications component which consumes it. Another possibility could be that I can catch a click event on the entire message inside the custom render function, but I don't see how I could achieve that...

(previous conversation: #9 (comment))

@cristijora thank you for the reply! So what do I do if I want to catch the click on the entire notification component? So basically catch the @close event on the notification. The example you provided was helpful, but only works on the button or the component that you define.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions