WIP: Add arrow animation
This commit is contained in:
parent
9756902ce2
commit
b78cf5ffd0
|
|
@ -21,7 +21,9 @@ const togglePerformanceCriteria = () => {
|
|||
class="-mx-8 px-8">
|
||||
<div class="mb-4 flex flex-row justify-between items-center">
|
||||
<h2 class="text-large">{{competence.description}}</h2>
|
||||
<button><it-icon-arrow-down
|
||||
<button class="transition-transform"
|
||||
:class="{'rotate-180': isOpen}">
|
||||
<it-icon-arrow-down
|
||||
@click="togglePerformanceCriteria()"
|
||||
class="h-10 w-10"
|
||||
aria-hidden="true"/></button>
|
||||
|
|
|
|||
Loading…
Reference in New Issue