Skip to content

An element and a function with the changes, fade between both.

License

Notifications You must be signed in to change notification settings

nathanaelsousa/mutateAndFade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mutateAndFade

mutateAndFade( element,  mutateFunction, options,  )

  element   The element that you want to change.

  mutateFunction   A function that receives an element and modifies it. This element may be the element you provided or a clone of it.

  options  { duration,  timingFunction }



Keep in mind:

The inline style of the provided element should be left blank to avoid conflict. The module uses this styles.

It's suggested to use a wrapper and then change the styles of the elements inside it. If you need to set the wrapper styles, make use of classes.

About

An element and a function with the changes, fade between both.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published