Answer the question
In order to leave comments, you need to log in
Make a component that appears by stretching from zero width/height like slideToggle from jquery?
api.jquery.com/slideToggle
I want that when sending a request to the server, the input decreases a little and an icon appears on the right.
I'm trying to do this:
.scaleX-enter-active , .scaleX-leave-active {
transition: all .4s;
}
.scaleX-enter, .scaleX-leave-to
/* .slide-fade-leave-active для <2.1.8 */ {
transform: scaleX(0);
}
...
<transition name="scaleX">
<span v-if="processing" class="fa fa-circle-o-notch fa-spin fa-fw" aria-hidden="true"/></span>
</transition>
...
Answer the question
In order to leave comments, you need to log in
And if div instead of span?<div v-if="processing">scaleX</div>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question