Class

ContextController

ContextController(app)

Class representing a controller for a context.
Constructor

# new ContextController(app)

Create a context controller.
Parameters:
Name Type Description
app object The app object.

View Source contextController.js, line 4

Classes

ContextController

Methods

# onDataChanged(data, identifier)

Handling of new data.
Parameters:
Name Type Description
data object The data to handle, typically a JavaScript object.
identifier any Property which handlers can use to identify the type of data.

View Source contextController.js, line 23

# sendMessageToComponent(id, message)

Send a message to a specific component.
Parameters:
Name Type Description
id string The id of the component, which should receive the message.
message any The component is responsible for the interpretation of the message.

View Source contextController.js, line 40