← Back to CSS domain

CSS.getLonghandProperties

No description available.

Domain: CSS experimental

Parameters

NameTypeDescription
shorthandNamestring
valuestring

Returns

NameTypeDescription
longhandPropertiesarray

Example Request

{
  "id": 1,
  "method": "CSS.getLonghandProperties",
  "params": {
    "shorthandName": "shorthandName-value",
    "value": "example-value"
  }
}

Example Response

{
  "id": 1,
  "result": {
    "longhandProperties": []
  }
}

Usage in Node.js

const result = await send('CSS.getLonghandProperties', {"shorthandName": "shorthandName-value", "value": "example-value"});
console.log(result);
// {"longhandProperties": []}