ConfigReceiver

ConfigReceiver

A config receiver listening for window.postMessage()

Constructor

# new ConfigReceiver()

Example
rec = dxc.ConfigReceiver(
          id="plotConfig",
          token="test"
 )

 window.postMessage({config: "Test", token:"test" })

Type Definitions

# propTypes

Properties
Name Type Description
id string

The ID used to identify this component in Dash callbacks.

token string

A token used to define the configuration across frames.

config Object

Prop The resulting configuration of the plot.

setProps

Dash-assigned callback that should be called to report property changes to Dash, to make them available for callbacks.