Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
strokeDashoffset: [(el) => el && anime.setDashoffset(el), 0],
x1: el => lineMap.get(el).source.cx,
.add({
targets: 'svg .cls-1 #Calque_2 #Calque_12 #line4',
strokeDashoffset: [anime.setDashoffset, 0],
easing: 'easeOutExpo',
duration: 1000
})
.add({
targets: 'svg .cls-1 #Calque_2 #Calque_12 #line5',
strokeDashoffset: [anime.setDashoffset, 0],
easing: 'easeOutExpo',
duration: 1000,
offset: '-=1000'
})
.add({
targets: 'svg .cls-1 #Calque_2 #Calque_12 #line6',
strokeDashoffset: [anime.setDashoffset, 0],
easing: 'easeOutExpo',
duration: 1000,
offset: '-=500'
})
.add({
targets: 'svg .cls-1 #Calque_2 #Calque_12',
easing: 'easeOutExpo',
duration: 800,
opacity: 0
});
}, 1500);
}