Skip to content

Added reflow method#82

Open
jasonlav wants to merge 1 commit intovisionmedia:masterfrom
jasonlav:master
Open

Added reflow method#82
jasonlav wants to merge 1 commit intovisionmedia:masterfrom
jasonlav:master

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