Skip to content

Commit

Permalink
using webstorm
Browse files Browse the repository at this point in the history
  • Loading branch information
bahrus committed Oct 26, 2024
1 parent 2f8f03d commit 9ca585f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions demo/temp.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div id=test>
<span name=hello></span>
</div>
<form id=form>
<input :hello>
</form>
<script>
console.log(test.children['hello']);
console.log(form.querySelector('[\\:hello]'));
</script>
</body>
</html>

0 comments on commit 9ca585f

Please sign in to comment.