Empty Component

The Empty Component is a simple empty indicator that can be used via the empty Component.

Properties

  • icon - The Icon used in the empty state. Available Icons can be found here.
  • text - The Text displayed under the Icon.
  • overlay - Whether this should overlay the entire Module. Defaults to false.
  • visible - Whether the Component should be visible or not. Defaults to true.

Examples

const $empty = window.casthub.create('empty');
const $empty = window.casthub.create('empty');
$empty.icon = 'twitch';
$empty.text = 'Hello World';