Closed maubut closed 6 years ago
@mikoelsuperbeasto you can already do it with the instance.getData()
function
inside: (instance, percentage, props) => {
const elem = instance.getData().elem
elem.classList.add('something')
}
Cool thanks you!
Hey,
What a cool library! I'm trying to figure out a way i could add or remove classes to my element from the callback (inside and outside)? Is there a way i could do like: