Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 718 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 718 Bytes

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.