Class: UpdateExhibitPage

UpdateExhibitPage()

page for updating exhibit

Constructor

new UpdateExhibitPage()

Source:

Members

clearImage

clears image from state

Source:

handleApiError

handles error from http requests

Source:

onChange

called when text input is changed

Source:

onClickExhibitUpdate

called when user wants to update info abou exhibit

Source:

onClickImageUpdate

called when user submit exhibit image to be updated

Source:

onClickInfoImageUpdate

called when user submits new exhibit info label image

Source:

onImageSelect

called when image is selected

Source:

onInfoLabelTextChange

called when value in info text editor is changed

Source:

state

current page state

Source:

updateLocation

updates new info about selected building, room and showcase

Source:

Methods

componentDidMount()

called when page is mounted

Source:

render() → {JSX.Element}

renders exhibit update page

Source:
Returns:

page

Type
JSX.Element