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