24 lines
1.5 KiB
Markdown
24 lines
1.5 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [LayerTree](./puppeteer.protocol.layertree.md) > [StickyPositionConstraint](./puppeteer.protocol.layertree.stickypositionconstraint.md)
|
|
|
|
## Protocol.LayerTree.StickyPositionConstraint interface
|
|
|
|
Sticky position constraints.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export interface StickyPositionConstraint
|
|
```
|
|
|
|
## Properties
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [containingBlockRect](./puppeteer.protocol.layertree.stickypositionconstraint.containingblockrect.md) | [DOM.Rect](./puppeteer.protocol.dom.rect.md) | Layout rectangle of the containing block of the sticky element |
|
|
| [nearestLayerShiftingContainingBlock](./puppeteer.protocol.layertree.stickypositionconstraint.nearestlayershiftingcontainingblock.md) | [LayerId](./puppeteer.protocol.layertree.layerid.md) | The nearest sticky layer that shifts the containing block |
|
|
| [nearestLayerShiftingStickyBox](./puppeteer.protocol.layertree.stickypositionconstraint.nearestlayershiftingstickybox.md) | [LayerId](./puppeteer.protocol.layertree.layerid.md) | The nearest sticky layer that shifts the sticky box |
|
|
| [stickyBoxRect](./puppeteer.protocol.layertree.stickypositionconstraint.stickyboxrect.md) | [DOM.Rect](./puppeteer.protocol.dom.rect.md) | Layout rectangle of the sticky element before being shifted |
|
|
|