jam-cloud/web/app/assets/javascripts/react-components/InstrumentSelectorList.js.j...

20 lines
675 B
CoffeeScript

context = window
logger = context.JK.logger
@InstrumentSelectorList = React.createClass({
componentDidMount: () ->
logger.debug("InstrumentSelectorList INIT", this.state, this.props, this.ref)
onItemChecked: (e) ->
e.preventDefault()
logger.debug("onItemChecked!!!!", this.state, this.props)
render: () ->
logger.debug("RENDER InstrumentSelectorList: this.props", this.state, this.ref, this.props.handleNav)
`<div className="InstrumentSelectorList react-component">
<div className="checkbox-scroller left">
<input type="checkbox" name="example"></input><label htmlFor="example">Example</label>
</div>
</div>`
})