Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 52 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. export default class App extends React.Component {
  2.   HandleChange(event)
  3.     {
  4.       console.log(JSON.stringify(event));
  5.     }
  6.  
  7.   render() {
  8.       return (
  9.         <div>
  10.         <p>The damn list.</p>
  11.         <select onChange={()=>this.HandleChange(event)}>
  12.           <option value="banana">Banana</option>
  13.           <option value="orange">Orange</option>
  14.           <option value="bread">Bread</option>
  15.         </select>
  16.         </div>
  17.       );
  18.     }
  19. }
  20.  
  21. render(<App />, window.document.getElementById('app'));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top