Skip to content

Commit 794bf50

Browse files
committed
Update examples
1 parent 73b5e61 commit 794bf50

File tree

3 files changed

+5712
-4796
lines changed

3 files changed

+5712
-4796
lines changed

examples/app.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,13 @@ class App extends React.Component {
8585
}
8686
return true;
8787
}}
88+
onDoubleClick={(event) => {
89+
const target = event.target || event.srcElement; // IE8
90+
console.log('onDoubleClick', target);
91+
}}
8892
onClick={(event) => {
8993
const target = event.target || event.srcElement; // IE8
90-
console.log('click', target);
94+
console.log('onClick', target);
9195
}}
9296
onDropNode={(node, e) => {
9397
const source = e.dataTransfer.getData('text');

0 commit comments

Comments
 (0)