List of events to load after the component did mount.
Optional
key?: stringThe key where the response data are stored in the renderData
function.
Name of the event.
Optional
params?: anyParameters for the event.
Optional
update?: stringUpdate event. On this event is registered listener for updating the component.
Optional
loaderIndicates if the loader should have block prop set to true
.
Optional
loaderLoader size.
Optional
onFunction called after the data load before the renderData
. The data can be modified here.
Loaded data. The event responses are accessible thought the key defined in the events
or by the event name.
Optional
onFunction called if the error occured before the renderError
.
The error returned from the socket.
Optional
onFunction called before the socket events execution.
Function called for data rendering.
Loaded data. The event responses are accessible thought the key defined in the events
or by the event name.
Optional
renderFunction called for error rendering.
The error returned from the socket.
Reference to the component.
Optional
tookIndicates if the took info is disabled in dev mode.
Interface for DataComponent props.