Class: AdvancedSearchPannel

frontend~AdvancedSearchPannel(props)

Collapsable advanced search pannel with all the parameters required to search for drinks.

Constructor

new AdvancedSearchPannel(props)

Binds methods
Parameters:
Name Type Description
props Array.<any>
Source:

Extends

  • React.Component

Methods

componentDidMount()

Sets up event listener for hitting enter while in an input. On enter, will unfocus the target input.
Source:

render()

Renders out the full panel. Contains all inputs and connecting callback methods. Is fully collapsable and mobile friendly
Source:

updateSubmit(event)

Parses and manipulates input values before providing them to the given onchange callback
Parameters:
Name Type Description
event object Sneakilly can be a index to pop from the contains array
Source: