Methods
createSignal(valuesopt) → {Signal}
Factory method to create a signal
- Source:
Parameters:
Name |
Type |
Attributes |
Description |
values |
Array.<any>
|
<optional>
|
Values to initialise the signals state with
|
createSlot(listener, signal, onceopt) → {Slot}
Factory method to create a slot
- Source:
Parameters:
Name |
Type |
Attributes |
Default |
Description |
listener |
function
|
|
|
|
signal |
Signal
|
|
|
|
once |
boolean
|
<optional>
|
false
|
|