Skip to content

Commit

Permalink
Updating hovered, focused and tapped examples [#63]
Browse files Browse the repository at this point in the history
  • Loading branch information
leomp12 authored Jan 30, 2023
1 parent 83dc886 commit d48f6a1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/variants.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ A regular hover event listener, it will not work on mobile devices.
:initial="{
scale: 1,
}"
:visible="{
scale: 1,
}"
:hovered="{
scale: 1.2,
}"
Expand All @@ -183,6 +186,9 @@ A regular focus event listener.
:initial="{
scale: 1,
}"
:visible="{
scale: 1,
}"
:focused="{
scale: 1.1,
}"
Expand All @@ -203,6 +209,9 @@ It will switch between them depending on the user supported pointer events.
:initial="{
scale: 1,
}"
:hovered="{
scale: 1,
}"
:tapped="{
scale: 0.8,
}"
Expand Down

0 comments on commit d48f6a1

Please sign in to comment.