Skip to content

Commit b7e9064

Browse files
authored
Post align fixes
2 parents 4164f59 + 262e9d5 commit b7e9064

24 files changed

+91
-82
lines changed

docs/helpers.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,6 @@ replacement.
8181

8282
{schema_object:helpers/slottable-object}
8383

84-
<h3 id="slottable-property">Slotabble Property</h3>
85-
86-
{schema_string:helpers/slottable-property/description}
87-
88-
{schema_object:helpers/slottable-property}
89-
9084
<lottie-playground example="slots.json">
9185
<form>
9286
<input title="Scale X" type="range" min="0" value="100" max="200"/>

docs/properties.md

Lines changed: 7 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
# Propeties
22

3-
## Animated Property
3+
<h2 id="property">Animated Property</h2>
44

55
Properties in Lottie can be animated.
66

77
Their structure depends on whether it's animated or not:
88

9+
{schema_object:properties/property}
10+
<tr><td>`k`</td>
11+
<td>`any` or `array` of {link:properties/base-keyframe:Keyframes}</td>
12+
<td>Value or Keyframes</td>
13+
<td>When it's not animated, `k` will contain the value directly. When animated, `k` will be an array of keyframes.</td>
14+
</tr>
915

10-
|Attribute|Type|Description|
11-
|---------|----|-----------|
12-
|`a`|[0-1 `int`](#booleans)|Whether the property is animated. Note some old animations might not have this|
13-
|`k`||Value or keyframes, this changes based on the value of `a`|
1416

1517
If `a` is `0`, then `k` just has the value of the property.
1618

@@ -96,12 +98,6 @@ you can see a representation of its easing function.
9698
Animatable {link:values/vector}.
9799

98100
{schema_object:properties/vector-property}
99-
<tr><td>`a`</td><td>{link:values/int-boolean}</td><td>Animated</td><td>Whether the property is animated</td></tr>
100-
<tr><td>`k`</td>
101-
<td>{link:values/vector} or `array`</td>
102-
<td>Value or Keyframes</td>
103-
<td>When it's not animated, `k` will contain the value directly. When animated, `k` will be an array of keyframes.</td>
104-
</tr>
105101

106102
<h4 id="vector-keyframe">Vector Keyframe</h4>
107103

@@ -118,26 +114,12 @@ Note that when animated it uses {link:properties/vector-keyframe:Vector Keyframe
118114
so instead of scalars keyframes have arrays with a single values.
119115

120116
{schema_object:properties/scalar-property}
121-
<tr><td>`a`</td><td>{link:values/int-boolean}</td><td>Animated</td><td>Whether the property is animated</td></tr>
122-
<tr><td>`k`</td>
123-
<td>`number` or `array`</td>
124-
<td>Value or Keyframes</td>
125-
<td>When it's not animated, `k` will contain the value directly. When animated, `k` will be an array of keyframes.</td>
126-
</tr>
127-
128117

129118
<h3 id="position-property">Position</h3>
130119

131120
Animatable 2D {link:values/vector} with optional spatial tangents.
132121

133122
{schema_object:properties/position-property}
134-
<tr><td>`a`</td><td>{link:values/int-boolean}</td><td>Animated</td><td>Whether the property is animated</td></tr>
135-
<tr><td>`k`</td>
136-
<td>{link:values/vector} or `array`</td>
137-
<td>Value or Keyframes</td>
138-
<td>When it's not animated, `k` will contain the value directly. When animated, `k` will be an array of keyframes.</td>
139-
</tr>
140-
141123

142124
<h4 id="position-keyframe">Position Keyframe</h4>
143125

@@ -158,13 +140,6 @@ Animatable 2D {link:values/vector} with optional spatial tangents.
158140
Animatable {link:values/bezier}.
159141

160142
{schema_object:properties/bezier-property}
161-
<tr><td>`a`</td><td>{link:values/int-boolean}</td><td>Animated</td><td>Whether the property is animated</td></tr>
162-
<tr><td>`k`</td>
163-
<td>{link:values/bezier} or `array`</td>
164-
<td>Value or Keyframes</td>
165-
<td>When it's not animated, `k` will contain the value directly. When animated, `k` will be an array of keyframes.</td>
166-
</tr>
167-
168143

169144
<h4 id="bezier-keyframe">Bezier Shape Keyframe</h4>
170145

@@ -177,13 +152,6 @@ Animatable {link:values/bezier}.
177152
Animatable {link:values/color}.
178153

179154
{schema_object:properties/color-property}
180-
<tr><td>`a`</td><td>{link:values/int-boolean}</td><td>Animated</td><td>Whether the property is animated</td></tr>
181-
<tr><td>`k`</td>
182-
<td>{link:values/color} or `array`</td>
183-
<td>Value or Keyframes</td>
184-
<td>When it's not animated, `k` will contain the value directly. When animated, `k` will be an array of keyframes.</td>
185-
</tr>
186-
187155

188156
<h4 id="color-keyframe">Color Keyframe</h4>
189157

docs/static/examples/effects-blur.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"id": "blep",
1212
"h": 512,
1313
"w": 512,
14-
"p": "/lottie-docs/examples/blep.png",
14+
"p": "/lottie-docs/static/examples/blep.png",
1515
"u": "",
1616
"e": 1
1717
}

docs/static/examples/effects-bulge.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"id": "image_0",
1313
"h": 512,
1414
"w": 512,
15-
"p": "/lottie-docs/examples/blep.png",
15+
"p": "/lottie-docs/static/examples/blep.png",
1616
"u": "",
1717
"e": 1
1818
}

docs/static/examples/effects-fill.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"id": "blep",
1212
"h": 512,
1313
"w": 512,
14-
"p": "/lottie-docs/examples/blep.png",
14+
"p": "/lottie-docs/static/examples/blep.png",
1515
"u": "",
1616
"e": 1
1717
}

docs/static/examples/effects-matte3-image.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"id": "blep",
1212
"h": 512,
1313
"w": 512,
14-
"p": "/lottie-docs/examples/blep.png",
14+
"p": "/lottie-docs/static/examples/blep.png",
1515
"u": "",
1616
"e": 1
1717
},

docs/static/examples/effects-prolevels.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"id": "blep",
1212
"h": 512,
1313
"w": 512,
14-
"p": "/lottie-docs/examples/blep.png",
14+
"p": "/lottie-docs/static/examples/blep.png",
1515
"u": "",
1616
"e": 1
1717
}

docs/static/examples/effects-shadow.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"id": "blep",
1212
"h": 512,
1313
"w": 512,
14-
"p": "/lottie-docs/examples/blep.png",
14+
"p": "/lottie-docs/static/examples/blep.png",
1515
"u": "",
1616
"e": 1
1717
}

docs/static/examples/effects-stroke.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"id": "blep",
1212
"h": 512,
1313
"w": 512,
14-
"p": "/lottie-docs/examples/blep.png",
14+
"p": "/lottie-docs/static/examples/blep.png",
1515
"u": "",
1616
"e": 1
1717
}

docs/static/examples/effects-tint.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"id": "blep",
1212
"h": 512,
1313
"w": 512,
14-
"p": "/lottie-docs/examples/blep.png",
14+
"p": "/lottie-docs/static/examples/blep.png",
1515
"u": "",
1616
"e": 1
1717
}

0 commit comments

Comments
 (0)