Skip to main content

Center

center.js

Options​

optiondescription
idundocumented

Inherited from Animator​

Accepted by every component. Defined once in animator.js.

optiondescription
centerCentres this element's CHILDREN. true for both axes, "x" horizontal, "y" vertical. Axis-aware: in a flex column "y" is justify-content, in a row it is align-items; a grid uses justify-items/align-items. To centre the element itself inside its parent, use mar: "center".

Generated from nodality 1.4.0.