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

@eventListener not taking effect in ember 3.13 #228

Open
kmiyashiro opened this issue Oct 11, 2019 · 0 comments
Open

@eventListener not taking effect in ember 3.13 #228

kmiyashiro opened this issue Oct 11, 2019 · 0 comments

Comments

@kmiyashiro
Copy link

I tried using the @eventListener decorator in a 3.13 app, but I could not get the decorated function to fire.

I tried a smoke test case of

class Foo extends Component {
  @eventListener(window, 'resize')
  foo(event) {
    console.log(event)
  }
}

Perhaps something has changed since 3.9?

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