Hi @LukaszWatroba,
I really like your directive. However it has a limit when we use dynamic values for the vBusyLabel attribute and idleLabelHtml. For instance, I use angluar-translate and my code using v-button directive will look like this :
In this case, when I change the translation locale, busyLabelHtml is never updated.
Also, when the button is done being busy, idleLabelHtml returns what was in labelElement.html() (based on code below) which is in this case equal to _auth.states.signin.signinbutton and not the wanted translated text.
Hi @LukaszWatroba, I really like your directive. However it has a limit when we use dynamic values for the vBusyLabel attribute and idleLabelHtml. For instance, I use angluar-translate and my code using v-button directive will look like this :
In this case, when I change the translation locale, busyLabelHtml is never updated. Also, when the button is done being busy, idleLabelHtml returns what was in labelElement.html() (based on code below) which is in this case equal to _auth.states.signin.signinbutton and not the wanted translated text.
I already wrote a fix and I will be glad to submit a PR :)