You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- list of custom properties names with their `default` value (`originY: 50, anotherCustomProp: 0`).
228
-
-`draw` function that will be responsible for rendering that custom properties. It will be called on each animation frame and will be provided with `el` and `props` object that contain current states for all custom properties (`props.originY, props.anotherCustomProp`). Feel free to apply that state to the `el` any way that works for you.
227
+
228
+
- list of custom properties names with their `default` value (`originY: 50, anotherCustomProp: 0`).
229
+
-`draw` function that will be responsible for rendering that custom properties. It will be called on each animation frame and will be provided with `el` and `props` object that contain current states for all custom properties (`props.originY, props.anotherCustomProp`). Feel free to apply that state to the `el` any way that works for you.
229
230
230
231
All custom properties are expected to be plain `numbers`, you can define `units` in the `draw` function.
231
232
@@ -237,9 +238,16 @@ All `delta` values of the `Html` module could have entire set of `Tween` propert
0 commit comments