Useful to implement in test and inject the mock instead of the real one. Could be something like
import { Directive, Input } from '@angular/core';
@Directive({
selector: '[appSticky]'
})
export class StickyMockDirective {
@Input() sentinelOn: HTMLElement;
@Input() classWhenSticky: string;
@Input() debugMode: boolean;
}