# How to Intercept page scroll event

**URL:** <https://meta.discourse.org/t/how-to-intercept-page-scroll-event/44069>\
**Category:** Development\
**Created:** [5월 11, 2016, 6:15오후 UTC](https://meta.discourse.org/t/how-to-intercept-page-scroll-event/44069 "2016-05-11T18:15:03Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![simevo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simevo/32/43605_2.png) [@simevo](https://meta.discourse.org/u/simevo)\
**Post date:** [4월 12, 2017, 8:03오전 UTC](https://meta.discourse.org/t/how-to-intercept-page-scroll-event/44069/4 "2017-04-12T08:03:42Z")

</div>

Does not work here on v1.8.0.beta9 +21, on this line:

> [@itkin](#):
>
> ```plaintext
> application.registrations['app-events:main']
> 
> ```

I get this:

```plaintext
TypeError: Cannot read property 'app-events:main' of undefined
    at Object.initialize ((index):482)
    at _ember_jquery-b018f0a….js:14340
    at e.each (_ember_jquery-b018f0a….js:12426)
    at e.topsort (_ember_jquery-b018f0a….js:12393)
    at e.topsort (_ember_jquery-b018f0a….js:12338)
    at i._runInitializer (_ember_jquery-b018f0a….js:14367)
    at i.runInitializers (_ember_jquery-b018f0a….js:14335)
    at i._bootSync (_ember_jquery-b018f0a….js:13550)
    at i.domReady (_ember_jquery-b018f0a….js:13454)
    at p.run (_ember_jquery-b018f0a….js:10544)

```

any idea ?

---

_[View the full topic](https://meta.discourse.org/t/how-to-intercept-page-scroll-event/44069)._
