Skip to content

Conversation

@jasonlav
Copy link

Added reflow method to simplify task of modifying style properties and immediately animating with those changes.

el.style.opacity = 0;

Move(el)
.reflow() //Reflows DOM element so animation will occur
.set('opacity', `)
.duration('1s')
.end();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant