2022-07-05 13:41:43 +00:00
|
|
|
---
|
|
|
|
sidebar_label: BoxModel
|
|
|
|
---
|
|
|
|
|
|
|
|
# BoxModel interface
|
|
|
|
|
2022-10-24 07:07:05 +00:00
|
|
|
#### Signature:
|
2022-07-05 13:41:43 +00:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
export interface BoxModel
|
|
|
|
```
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
2022-10-24 07:07:05 +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 | | |
|