Skip to content

Commit a4997b3

Browse files
committed
On Scroll Animations
1 parent 4557868 commit a4997b3

File tree

12 files changed

+4432
-4291
lines changed

12 files changed

+4432
-4291
lines changed

docs/contentful/animations.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Animations On Scroll
2+
Animationg Contentful components on scroll is implemetented currently for following components:
3+
- Viewport
4+
- Image
5+
- ContentBlock
6+
7+
Definig a scroll animation is easy via the Web UI. Search for the "Animation On Scroll" field and either select existing animation or create new one.
8+
![](./pics/anim1.png)
9+
10+
## Animation Model
11+
To define a default animation only `Name` and `Animate On Scroll` fields are required. There is help hint bellow each fields what is does and how to use it. For further detailed examples see: https://michalsnik.github.io/aos/. All available properties are supported from Contentful animatable components as well.
12+
![](./pics/anim2.png)

docs/contentful/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@ Instructions are also provided below for developments that want to modify/create
3333
- [Custom inline components in Markdown fields](./custom-inline-components-in-markdown-fields.md)
3434
- [Miscellaneous CSS Solutions](./miscellaneous-CSS-solutions.md)
3535
- [Duplicate tool](https://github.com/topcoder-platform/contentful-duplicate-tool/blob/master/docs/contentful-duplicate.md)
36+
- [Animate Components On Scroll](./animations.md)
3637

3738
To request additional content types or adjustments to existing content models, please send you request to [email protected].

docs/contentful/pics/anim1.png

24 KB
Loading

docs/contentful/pics/anim2.png

214 KB
Loading

0 commit comments

Comments
 (0)