Parenting

Together with offset and delay, parenting helps define relationships between elements. Parenting links one object's properties to another object, establishing a direct connection. In the example, the child element's size and position depend on the parent's position.

As users interact with a parent element, their child elements should move accordingly. For example, when users swipe through an image carousel, images should move along with the slider and scroll.

<?xml version="1.0" encoding="utf-8"?>