Returns true if one or more filter options are selected in any filter category. False if otherwise
Renders the portion of the Advanced filter container that will always be visible and dictates expansion of the filter menu, essentially the 'header' of the component.
Renders the button that, when clicked, expands or collapses the advanced filter.
Render the expanded filter container
Renders the array of filter categories and their respective filter options.
Renders the page title.
Renders the reset button
Builds and returns a list of JSX.Elements that shows which filter options are currently selected
Resets each of the filter options for each category.
Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount.
Called immediately after a compoment is mounted. Setting state here will trigger re-rendering.
Called immediately after updating occurs. Not called for the initial render.
Called immediately before mounting occurs, and before Component#render
.
Avoid introducing any side-effects or subscriptions in this method.
Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes.
Calling Component#setState
generally does not trigger this method.
Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as
cancelled network requests, or cleaning up any DOM elements created in componentDidMount
.
Called immediately before rendering when new props or state is received. Not called for the initial render.
Note: You cannot call Component#setState
here.
Called to determine whether the change in props and state should trigger a re-render.
Component
always returns true.
PureComponent
implements a shallow comparison on props and state and returns true if any
props or states have changed.
If false is returned, Component#render
, componentWillUpdate
and componentDidUpdate
will not be called.
Generated using TypeDoc
The AdvancedFilterContainer is a collapsible menu that displays AdvancedFilters that, when clicked, calls
this.props.onClick()
AdvancedFilterContainer
{React.Component<AdvancedFilterContainerProps, AdvancedFilterContainerState>}