src/components/steppedspeedslider/steppedspeedslider.js
Function initAxis
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initAxis() {
const {
lineWidth,
triangleWidth,
triangleHeight,
Function init
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init(config, context) {
this.name = "steppedSpeedSlider";
this.template = require("./steppedspeedslider.html");
this.config = Object.assign({