JonnyBGod / ngx-scrollspy

Angular ScrollSpy Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ScrollSpyService should accept Observable<any> as well

maxisam opened this issue · comments

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.