Extends
- Component
Members
closeScreen
Close form.
toggleActive
Toggle monitoredArea active/archived
Methods
checkDeviceValidity()
Check if device selection is valid
componentDidMount()
componentDidUpdate(prevProps, prevState, snapshot)
Parameters:
Name | Type | Description |
---|---|---|
prevProps |
||
prevState |
||
snapshot |
handleDelete()
handleDeviceInputChange(event)
Handles device input change.
Parameters:
Name | Type | Description |
---|---|---|
event |
handleInputChange(event)
Handles name, deviceLatitude, deviceLongitude change.
Parameters:
Name | Type | Description |
---|---|---|
event |
handleParametersInputChange(event)
Handle parameters input change
Parameters:
Name | Type | Description |
---|---|---|
event |
handleSubmitCreate(event)
Parameters:
Name | Type | Description |
---|---|---|
event |
handleSubmitUpdate(event)
Parameters:
Name | Type | Description |
---|---|---|
event |
isDeviceValid(device) → {boolean}
Check if device object is valid
Parameters:
Name | Type | Description |
---|---|---|
device |
Returns:
- Type
- boolean
render() → {*}
Returns:
- Type
- *
saveMapLocation(lat, lng)
Set Map Location
Parameters:
Name | Type | Description |
---|---|---|
lat |
||
lng |