Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

botão delete no reactjs com class component

<button onClick={(e) => this.deleteRow(id, e)}>Deletar linha</button>
<button onClick={this.deleteRow.bind(this, id)}>Deletar linha</button>
Source by pt-br.reactjs.org #
 
PREVIOUS NEXT
Tagged: #delete #reactjs #class #component
ADD COMMENT
Topic
Name
8+4 =