API Docs for:
Show:

Signal Class

Defined in: can.js:47
Module: Signals

The actual signal.

Item Index

Methods

Attributes

Methods

onChange

(
  • listener
)

Defined in can.js:83

Keep track of listeners who want to be notified if this signal changes

Parameters:

  • listener Object

    JS callback to get notification

update

(
  • newValue
)

Defined in can.js:93

Set new value of this signal. Any local registered clients will receive a notification. Please note, no CAN message is actually send to the bus (@see DatabaseServer::send)

Parameters:

  • newValue Bool | Double | Integer

    New value to set

Attributes

name

final

Defined in can.js:53

Symbolic name

value

final

Defined in can.js:71

Current value