I have some menu items in a PWA that are only available when the application is connected to the server, and not in offline mode. However, I want to leave the menu item visible, but add a decorator to the end Title text (for example a green dot) that indicates its online mode only.
If I just add a span to the Title text, it just displays as the raw text, which is expected. Is there a way to set the innerhtml instead of the text value? Or because its also used in the tab title is that something not wise to do, or would even work?