TfStatusElement
Extends:
HTMLElement → TfStatusElement
Static Member Summary
| Static Public Members | ||
| public static get |
|
|
Constructor Summary
| Public Constructor | ||
| public |
|
|
Method Summary
| Public Methods | ||
| public |
|
|
| public |
|
|
| public |
setMessage(msg: String) Set the message, rendered as sanitised HTML into the |
|
Public Constructors
public constructor() source
Public Methods
public attributeChangedCallback() source
public connectedCallback() source
public setMessage(msg: String) source
Set the message, rendered as sanitised HTML into the message part.
Values are coerced to strings so a falsy non-string (e.g. 0) is
displayed rather than silently dropped. Markup is allowed to stay
backward compatible with legacy StatusBar messages (#1012); it is
sanitised with DOMPurify before injection.
Params:
| Name | Type | Attribute | Description |
| msg | String | Message text/HTML |
