Mixin: mixins/signalable

mixins/signalable

Make an object capable of handling a signal. Or many signals.

Extends

Members


autoLoadSignals :boolean

When true, the class will load the signals hash and create the signal definitions during construction

Type:
  • boolean
Source:

signals :hash|function

A hash of signals to create automatically. Each definition consists of a name for the signal as the key
and then a hash of options (nullable) for each signal

Type:
  • hash | function
Source:

Methods


refreshSignals()

When you make a change to the signals hash after loading, then you can make it reload

Source: