StickyPositionConstraint

@Serializable
data class StickyPositionConstraint(val stickyBoxRect: DOM.Rect, val containingBlockRect: DOM.Rect, val nearestLayerShiftingStickyBox: String? = null, val nearestLayerShiftingContainingBlock: String? = null)

Sticky position constraints.

Constructors

Link copied to clipboard
constructor(stickyBoxRect: DOM.Rect, containingBlockRect: DOM.Rect, nearestLayerShiftingStickyBox: String? = null, nearestLayerShiftingContainingBlock: String? = null)

Properties

Link copied to clipboard

Layout rectangle of the containing block of the sticky element

Link copied to clipboard

The nearest sticky layer that shifts the containing block

Link copied to clipboard

The nearest sticky layer that shifts the sticky box

Link copied to clipboard

Layout rectangle of the sticky element before being shifted