Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
getLocation(target) {
const translateX = parseInt(Anime.get(target, 'translateX'), 10)
const translateY = parseInt(Anime.get(target, 'translateY'), 10)
return { x: translateX, y: translateY }
}
getLocation(target) {
const translateX = parseInt(Anime.get(target, 'translateX'), 10)
const translateY = parseInt(Anime.get(target, 'translateY'), 10)
return { x: translateX, y: translateY }
}