CSS.forceStartingStyleEnsures that the given node is in its starting-style state.
| Name | Type | Description |
|---|---|---|
nodeId | DOM.NodeId | The element id for which to force the starting-style state. |
forced | boolean | Boolean indicating if this is on or off. |
{
"id": 1,
"method": "CSS.forceStartingStyle",
"params": {
"nodeId": 1,
"forced": true
}
}
{
"id": 1,
"result": {}
}
const result = await send('CSS.forceStartingStyle', {"nodeId": 1, "forced": true});
console.log(result);