src/components/body/ScrollerDirective.js
Showing 3 of 3 total issues
Function ScrollerDirective
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function ScrollerDirective() { return { restrict: 'E', require: '^dtBody', transclude: true,
- Create a ticketCreate a ticket
Function link
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link($scope, $elm, $attrs, ctrl) { const parent = $elm.parent(); let ticking = false; let lastScrollY = 0;
- Create a ticketCreate a ticket
Function ScrollerDirective
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
Open
export default function ScrollerDirective() { return { restrict: 'E', require: '^dtBody', transclude: true,
- Read upRead up
- Create a ticketCreate a ticket