Back to Puppeteer

BoxModel interface

website/versioned_docs/version-24.40.0/api/puppeteer.boxmodel.md

19.2.2978 B
Original Source

BoxModel interface

Signature

typescript
export interface BoxModel

Properties

<table><thead><tr><th>

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

</th><th>

Default

</th></tr></thead> <tbody><tr><td>

<span id="border">border</span>

</td><td> </td><td>

Quad

</td><td> </td><td> </td></tr> <tr><td>

<span id="content">content</span>

</td><td> </td><td>

Quad

</td><td> </td><td> </td></tr> <tr><td>

<span id="height">height</span>

</td><td> </td><td>

number

</td><td> </td><td> </td></tr> <tr><td>

<span id="margin">margin</span>

</td><td> </td><td>

Quad

</td><td> </td><td> </td></tr> <tr><td>

<span id="padding">padding</span>

</td><td> </td><td>

Quad

</td><td> </td><td> </td></tr> <tr><td>

<span id="width">width</span>

</td><td> </td><td>

number

</td><td> </td><td> </td></tr> </tbody></table>