new Login()
- Source:
Properties:
| Name | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
props |
object |
Properties
|
Members
state :object
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
username |
boolean | |
password |
boolean | |
errorMgs |
object |
Type:
- object
Methods
componentDidMount() → {void}
- Source:
Go to BETS page if user is logged in
Returns:
- Type
- void
handleChangeValue(e) → {void}
- Source:
Change input value depending on field id
Parameters:
| Name | Type | Description |
|---|---|---|
e |
Event |
Returns:
- Type
- void
login() → {void}
- Source:
Call API with inserted username & password
Returns:
- Type
- void
render() → {view}
- Source:
Render
Returns:
- Type
- view