SyntheticEvent
This commit is contained in:
22
demo/test-event/index.html
Normal file
22
demo/test-event/index.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8" />
|
||||
</head>
|
||||
<div id="root">
|
||||
<div>1</div>
|
||||
<div>
|
||||
222
|
||||
<div>222-child</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="app">
|
||||
<button class="button">Click Me</button>
|
||||
<a href="#" class="link">Link</a>
|
||||
<div id="i2">
|
||||
222
|
||||
<div id="i2-child">222-child</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <script src="./index.js"></script> -->
|
||||
<script src="./event.js"></script>
|
||||
Reference in New Issue
Block a user