frontend/src/app/shared/directives/op-drag-scroll/op-drag-scroll.directive.ts
Function ngOnInit
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ngOnInit() {
const element = jQuery(this.elementRef.nativeElement);
const eventName = 'op:dragscroll';
// Is mouse down?