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

'closed-by-user', 'closed-automatically' events were not being triggered #8

Open
uday-appam opened this issue Nov 8, 2017 · 0 comments

Comments

@uday-appam
Copy link

uday-appam commented Nov 8, 2017

Hi,
'closed-by-user', 'closed-automatically' events were not being triggered on the parent component

Following is my HTML,

<div id="app" class="site">
    <notification-custom v-if="notification.show" />
  </div>

Trying to catch the event like this.

  created: function() {
  // It's not being triggering.
    this.$on('closed-automatically', function(value) {
      console.log('Got it !')
    })
  }
@uday-appam uday-appam changed the title Not able to catch the events 'closed-by-user', 'closed-automatically' 'closed-by-user', 'closed-automatically' events were not being triggered Nov 8, 2017
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