MCPcopy Create free account
hub / github.com/Lobos/react-ui / constructor

Function constructor

src/Filter.js:16–29  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

14
15class Filter extends ClickAway(Component) {
16 constructor (props) {
17 super(props);
18 this.state = {
19 active: false,
20 filters: []
21 };
22
23 this.addFilter = this.addFilter.bind(this);
24 this.clearFilter = this.clearFilter.bind(this);
25 this.onChange = this.onChange.bind(this);
26 this.onFilter = this.onFilter.bind(this);
27 this.open = this.open.bind(this);
28 this.removeFilter = this.removeFilter.bind(this);
29 }
30
31 componentWillMount () {
32 this.initData(this.props.options);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…