Protected
_mountedIndicates if the component is mounted.
Protected
_socketProtected
callCalls 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.
Protected
emitEmits 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.
Protected
getGets 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.
Protected
getGets 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.
Protected
loadProtected
onRegisters socket event listener. This method should be called in componentDidMount
.
Protected
onProtected
onProtected
onProtected
onCalled if the socket changes its state.
Current state of the socket.
Protected
requestCalls 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.
Optional
error: anyOptional
data: RFunction called in the progress tick.
Protected
requestCalls 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.
Protected
save
Base component for rendering pages. All registered pages in the application should be inherited from this class.