initializeJqueryComponent is ran during the afterRender phase of the Ember Run loop, where _slider is instantiated. However, _slider is expected to exist when the _immediateResponse method is called after the element is inserted into the DOM, which is before the rendering has completed.
I was getting an error until I scheduled _immediateResonse's body in the afterRender phase as well.
initializeJqueryComponent
is ran during theafterRender
phase of the Ember Run loop, where_slider
is instantiated. However,_slider
is expected to exist when the_immediateResponse
method is called after the element is inserted into the DOM, which is before the rendering has completed.I was getting an error until I scheduled
_immediateResonse
's body in the afterRender phase as well.