← Back to Overlay domain

Overlay.setShowLayoutShiftRegions

Requests that backend shows layout shift regions

Domain: Overlay experimental

Parameters

NameTypeDescription
resultbooleanTrue for showing layout shift regions

Example Request

{
  "id": 1,
  "method": "Overlay.setShowLayoutShiftRegions",
  "params": {
    "result": true
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Overlay.setShowLayoutShiftRegions', {"result": true});
console.log(result);