Skip to content

Button click should disable and show loading icon #79

Discussion options

You must be logged in to vote

Sorry, this was actually quite simple with this jQuery code:

$("wa-button[type='submit']").on("click", function() {
    $(this).attr("disabled",true);
    $(this).attr("loading",true);
});

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by HovKlan-DH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant