We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2522612 commit 0ced10fCopy full SHA for 0ced10f
demo/observer.html
@@ -34,9 +34,10 @@
34
<li>
35
<button
36
:click="this.parentNode.parentNode.removeChild(this.parentNode)"
37
- :text="`look at my id list item (click to delete)`"
+ :text="`my id is ${this.getAttribute('id')} (not changing on hover anymore) list item (click to delete)`"
38
:mouseenter="el.isHovered = true"
39
:mouseleave="el.isHovered = false"
40
+ id="originalID"
41
:class="el.isHovered ? 'bg-red-200' : ''"
42
></button>
43
0 commit comments