puppeteer/new-docs/puppeteer.protocol.layertree.stickypositionconstraint.md
2020-07-13 14:01:35 +01:00

1.5 KiB

Home > puppeteer > Protocol > LayerTree > StickyPositionConstraint

Protocol.LayerTree.StickyPositionConstraint interface

Sticky position constraints.

Signature:

export interface StickyPositionConstraint 

Properties

Property Type Description
containingBlockRect DOM.Rect Layout rectangle of the containing block of the sticky element
nearestLayerShiftingContainingBlock LayerId The nearest sticky layer that shifts the containing block
nearestLayerShiftingStickyBox LayerId The nearest sticky layer that shifts the sticky box
stickyBoxRect DOM.Rect Layout rectangle of the sticky element before being shifted