Add scroll-to to add champ buttons
This commit is contained in:
parent
dbfb7804a8
commit
d837066091
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="champs-editor">
|
<div class="champs-editor">
|
||||||
<div v-if="state.typesDeChamp.length > 3" class="header">
|
<div v-if="state.typesDeChamp.length > 3" class="header">
|
||||||
<button class="button" @click.prevent="addChamp">
|
<button class="button" v-scroll-to="'.footer'" @click.prevent="addChamp">
|
||||||
<template v-if="state.isAnnotation">
|
<template v-if="state.isAnnotation">
|
||||||
Ajouter une annotation
|
Ajouter une annotation
|
||||||
</template>
|
</template>
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
</Draggable>
|
</Draggable>
|
||||||
|
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<button class="button" @click.prevent="addChamp">
|
<button class="button" v-scroll-to="'.footer'" @click.prevent="addChamp">
|
||||||
<template v-if="state.isAnnotation">
|
<template v-if="state.isAnnotation">
|
||||||
Ajouter une annotation
|
Ajouter une annotation
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue