CSS.setStyleText

Sets the new text for the respective style.

{
  "name": "setStyleText",
  "parameters": [
    {
      "name": "styleId",
      "$ref": "CSSStyleId"
    },
    {
      "name": "text",
      "type": "string"
    }
  ],
  "returns": [
    {
      "name": "style",
      "$ref": "CSSStyle",
      "description": "The resulting style after the text modification."
    }
  ],
  "description": "Sets the new text for the respective style."
}