chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.layertree / StickyPositionConstraint

StickyPositionConstraint

data class StickyPositionConstraint

Sticky position constraints.

Constructors

<init>

Sticky position constraints.

StickyPositionConstraint(stickyBoxRect: Rect, containingBlockRect: Rect, nearestLayerShiftingStickyBox: LayerId? = null, nearestLayerShiftingContainingBlock: LayerId? = null)

Properties

containingBlockRect

Layout rectangle of the containing block of the sticky element

val containingBlockRect: Rect

nearestLayerShiftingContainingBlock

The nearest sticky layer that shifts the containing block

val nearestLayerShiftingContainingBlock: LayerId?

nearestLayerShiftingStickyBox

The nearest sticky layer that shifts the sticky box

val nearestLayerShiftingStickyBox: LayerId?

stickyBoxRect

Layout rectangle of the sticky element before being shifted

val stickyBoxRect: Rect