__AddClassAdds a class selector to the Element object without affecting existing class selectors.
| Key | Description |
|---|---|
| element | Any Element object. |
| className | The new className, of type string. |
No return value.
The frontend framework can compile the corresponding frontend tag into the following render directive during the compilation phase.