ScrollSpyService should accept Observable<any> as well
maxisam opened this issue · comments
Sam Lin commented
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.