JonnyBGod / ngx-scrollspy

Angular ScrollSpy Service
MIT License
94 stars 21 forks source link

ScrollSpyService should accept Observable<any> as well #179

Closed maxisam closed 7 years ago

maxisam commented 7 years ago

I propose we should have setObservable like public setObservable(key: string, observable: ReplaySubject<any> | Observable<any>)

So in some cases, that we can't put a spy directive to the dom element we want, we still can use the service.