Supported Cross-Visual Subscribe JavaScript Properties
This applies to: Visual Data Discovery
The properties for the subscribe
method of the Zoomdata
class are described in the following table.
Property/Object | Description |
---|---|
<linkName>
|
The link (channel) name to which the subscription handler should subscribe. The link name is defined when you define a cross-source link. See Define Cross-Source Links. It is published for use by a dashboard as a cross-visual filter. See Publish a Link. The link name represents the channel from which the message should be subscribed. It is typically called a topic in standard publish/subscribe systems.
Type: string |
subscriptionHandler
|
The handler that will be called upon new messages. This handler will be provided with the published message as the first argument and the ID of the publisher as the second argument. Type: function |