SignUpView
Extends:
Class for the SignUp view
Static Member Summary
Static Public Members | ||
public static |
navigationOptions(navigation,: Object): Object: * Set the navigation options, change the header to handle a back button. |
Constructor Summary
Public Constructor | ||
public |
constructor(props: Object) Create an instance of SignUpView |
Member Summary
Public Members | ||
public |
SignupP: * |
|
public |
This function will trigger before the component mounts |
|
public |
Component will unmount after this method is called, do any clean up here Call viewUnmounting in base class so it can do any cleanup for the view before calling the presenter destroy method |
|
public |
refreshState: * Refreshes the state of the component so new data is fetched. |
|
public |
reportError(errmsg: Object): * Called if the user input username or password is invalid. |
|
public |
sendUpdate: * Send an update to the presenter with the relevant data. |
|
public |
signupCallback(result: Boolean): * Callback for when the signup completes or fails. |
|
public |
state: {"username": *, "password": *, "RPassword": *} |
Private Members | ||
private |
_onBack: * When the back button is clicked, check if the user was editing. |
Method Summary
Public Methods | ||
public |
render() Extract data from the component's view and send an update to the presenter to do any logic before sending it to the model |
Private Methods | ||
private |
Handle the click of the button |
Static Public Members
Public Constructors
Public Members
public SignupP: * source
public componentWillUnmount: * source
Component will unmount after this method is called, do any clean up here Call viewUnmounting in base class so it can do any cleanup for the view before calling the presenter destroy method
public reportError(errmsg: Object): * source
Called if the user input username or password is invalid.