-
-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Hello,
I would like to suggest a modification to the data-jos_rootMargin attribute so that it can be interpreted as rootMargin.
I see that the rootMargin values are top% right% bottom% left% (as in CSS).
But data-jos_rootMargin is right% top% left% bottom%.
If I understand correctly, both attributes have similar meaning, or perhaps I am wrong in interpreting the functions of each attribute.
In any case, the usual way in CSS to handle the values is top right bottom left; using this order helps with consistency.
EDIT:
I'm trying to understand this attribute data-jos_rootMargin but it looks like it is not used, it has no effect in animation.
I digged in code and I can see that this attribute does not appear when calculate rootMargin.
I can see it does not use jos_rootmargin, but jos_rootmargin_top, jos_rootmargin_right, jos_rootmargin_left, jos_rootmargin_bottom.
Is ii a bug or am I confused?
Thanks