Stream Status Stock Element #

You can use this Stock Element by extending the exported global: window.casthub.elements.stream_status

The Stream Status Element can display a simple OFFLINE/LIVE indicator with a bit of customisability. It is used in a few of our Modules, including the Twitch Stream Status Module.

Toggling the Live Status #

Using the live property within the Module, you can easily toggle the live status by setting the property to true/false. The Module UI will react accodingly.

Customisation #

Currently the Stock Element is limited in customisability to the following properties:

  • icon - The Icon places in the top-left of the Module. A list of supported Icons can be found here.

These properties are reactive and can be updated at any point during the module lifecycle.