| Parameter | Description |
|---|---|
| clearSourceAssetStyles | Indicates if the inline style properties coming from the source asset must also be cleared for the element. |
Clears inline style properties of the element.
After clearing, the style properties of the element revert to the values defined in stylesheets or default values.
By default, this method clears all inline style properties, including those coming from the source asset from which the element was created.
To preserve these properties, set the to false.
The following example compares this method and resetting style properties individually.