Hi, I used to use Angular, so maybe what I want is not possible or I don't know yet.
I want to build a custom "directive" that appends (or prepends) some Html to the element given (a button with a spinner).
Two things I want.
<template> <span> <i class="fa fa-spin fa-spinner" v-if="saving"></i><slot></slot> </span> </template>
Any ideas? Probably is not that hard, but I think I still "poisoned" by Angular.