4.3.0 • Published 6 months ago

@maddsua/reveal v4.3.0

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

This package impements html element reveal animations

Code examples:

<div data-rvl="t25 d250 cd500">
	<div data-rvl="tt2 i2">Shows third</div>
	<div data-rvl="tr2 i0">Shows first</div>
	<div data-rvl="tb2 i1">Shows second</div>
</div>
<div data-rvl="t25 tr2">Reveals from 2em right from top on 25% visible</div>

Short-tags are:

Regular elements:

  • animation delay: d[number]
  • animation length: l[number]
  • translate: t[direction][number]
  • reveal order: i[number]

Containers or self-triggering elements

(extends the previous ones)

  • trigger threshold: t[number]
  • default children elements animation delay: cd[number]
  • default children elements animation length: cl[number]
  • default children elements transition: ct[direction][number]
4.1.0

6 months ago

4.0.1

7 months ago

4.0.0

7 months ago

4.3.0

6 months ago

4.2.0

6 months ago

4.0.2

7 months ago

3.0.3

11 months ago

3.0.2

11 months ago

3.0.1

11 months ago

3.0.0

11 months ago