2022-08-06 14:49:20 +00:00
|
|
|
---
|
|
|
|
sidebar_label: BoxModel
|
|
|
|
---
|
|
|
|
|
|
|
|
# BoxModel interface
|
|
|
|
|
2022-10-24 14:31:12 +00:00
|
|
|
#### Signature:
|
2022-08-06 14:49:20 +00:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
export interface BoxModel
|
|
|
|
```
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
2022-10-24 14:31:12 +00:00
|
|
|
| Property | Modifiers | Type | Description | Default |
|
|
|
|
| ------------------------------------------ | --------- | --------------------------------- | ----------- | ------- |
|
|
|
|
| [border](./puppeteer.boxmodel.border.md) | | [Point](./puppeteer.point.md)\[\] | | |
|
|
|
|
| [content](./puppeteer.boxmodel.content.md) | | [Point](./puppeteer.point.md)\[\] | | |
|
|
|
|
| [height](./puppeteer.boxmodel.height.md) | | number | | |
|
|
|
|
| [margin](./puppeteer.boxmodel.margin.md) | | [Point](./puppeteer.point.md)\[\] | | |
|
|
|
|
| [padding](./puppeteer.boxmodel.padding.md) | | [Point](./puppeteer.point.md)\[\] | | |
|
|
|
|
| [width](./puppeteer.boxmodel.width.md) | | number | | |
|