3.1 KiB
3.1 KiB
Home > puppeteer > Protocol > Overlay > HighlightConfig
Protocol.Overlay.HighlightConfig interface
Configuration data for the highlighting of page elements.
Signature:
export interface HighlightConfig
Properties
Property | Type | Description |
---|---|---|
borderColor | DOM.RGBA | The border highlight fill color (default: transparent). |
colorFormat | ColorFormat | The color format used to format color styles (default: hex). |
contentColor | DOM.RGBA | The content box highlight fill color (default: transparent). |
cssGridColor | DOM.RGBA | The grid layout color (default: transparent). |
eventTargetColor | DOM.RGBA | The event target element highlight fill color (default: transparent). |
gridHighlightConfig | GridHighlightConfig | The grid layout highlight configuration (default: all transparent). |
marginColor | DOM.RGBA | The margin highlight fill color (default: transparent). |
paddingColor | DOM.RGBA | The padding highlight fill color (default: transparent). |
shapeColor | DOM.RGBA | The shape outside fill color (default: transparent). |
shapeMarginColor | DOM.RGBA | The shape margin fill color (default: transparent). |
showExtensionLines | boolean | Whether the extension lines from node to the rulers should be shown (default: false). |
showInfo | boolean | Whether the node info tooltip should be shown (default: false). |
showRulers | boolean | Whether the rulers should be shown (default: false). |
showStyles | boolean | Whether the node styles in the tooltip (default: false). |