Use v-if in the expand button for performance

This commit is contained in:
Filipa Lacerda 2018-02-27 12:51:15 +00:00
parent 81852d1f90
commit c8d8dffecc
No known key found for this signature in database
GPG Key ID: 9CA3FDE4D1E2F1C8
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@
@click="onClick">
...
</button>
<span v-show="!isCollapsed">
<span v-if="!isCollapsed">
<slot name="expanded"></slot>
</span>
</span>