@mermaid-editor-sdk/headless / getClassStyle
Function: getClassStyle()
getClassStyle(
source,id,property):string
Defined in: source/class-mutations.ts:496
Reads one style property assigned to a class.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | string | Mermaid source to inspect or update. |
id | string | Identifier of the diagram element. |
property | ClassStyleProperty | Style property to read or update. |
Returns
string