1.0.0 • Published 1 year ago

delu-mergejs v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

mergeJS

How to use:

  1. Create a container, style it as you please (DO NOT ADD A BACKGROUND COLOR)

  2. Add all the child elements you wish to be affected by the merge-effect

  1. Initialise the mergeJS, and add all the required properties.

    • container = The container that hold the elements to merge
    • mergeAmount = The amount of merging between elements
    • sharpness = The sharpness of the merging elements
    • childColor = The color to overlay over the merging elements
    • inverted = Specify whether or not the background is light or dark (true = light background/false = dark background)
  1. Enjoy the cool merging effect

HINT:

Check out the example repo https://github.com/andreasdelu/mergeJS-example

1.0.0

1 year ago