Protected_mountedIndicates if the component is mounted.
Protected_socketProtectedcallCalls the socket event.
Name of the event.
Calls the socket event.
Name of the event.
Event parameters.
Calls the socket event.
Name of the event.
Event parameters.
Timeout of the event.
Calls the socket event.
Name of the event.
Event parameters.
Timeout of the event.
Function called in the progress tick.
ProtectedemitEmits the socket event. The response can be handled in the on method.
Name of the event.
Emits the socket event. The response can be handled in the on method.
Name of the event.
Socket event key.
Emits the socket event. The response can be handled in the on method.
Name of the event.
Socket event key.
Event parameters.
Emits the socket event. The response can be handled in the on method.
Name of the event.
Socket event key.
Event parameters.
Function called in the progress tick.
ProtectedgetGets a list of events that are registered in on method after the component mount and saves the data to the component state.
Gets the text from the dictionary as JSX object. All HTML in the text is converted to JSX.
Key of the text in the dictionary.
Gets the text from the dictionary as JSX object. All HTML in the text is converted to JSX.
Key of the text in the dictionary.
Rest...args: any[]Arguments for text format.
ProtectedgetGets the text from the dictionary.
Key of the text in the dictionary.
Gets the text from the dictionary.
Key of the text in the dictionary.
Rest...args: any[]Arguments for text format.
ProtectedloadProtectedonRegisters socket event listener. This method should be called in componentDidMount.
ProtectedonProtectedonProtectedonCalled if the socket changes its state.
Current state of the socket.
ProtectedrequestCalls the socket event.
Calls the socket event.
Calls the socket event.
Calls the socket event.
Name of the event.
Event parameters.
Timeout of the event.
Callback function.
Optionalerror: anyOptionaldata: RFunction called in the progress tick.
ProtectedrequestCalls the socket event.
Name of the event.
Calls the socket event.
Name of the event.
Event parameters.
Calls the socket event.
Name of the event.
Event parameters.
Timeout of the event.
Calls the socket event.
Name of the event.
Event parameters.
Timeout of the event.
Function called in the progress tick.
Protectedsave
Component using Socket API for communication.