Hi,
I have a css theme that I am using as the basis of my project. This theme has <a>
links in it that I need to replace with Vaadin Buttons (or some other click listener enabled component). I declare the button as follows:
<vaadin-button class="go_checkout" theme="tertiary" id="goCheckout"></vaadin-button>
which replaced:
<a class="go_checkout" href="checkout.html">Checkout</a>
But the css class go_checkout is not applied and the Lumo theme tertiary is applied instead.
- How can I suppress the Lumo theme for this button so that the link looks like the original themed html link?
- Is there another component that I can use instead that has a click listener? Maybe using the “on-click” attribute?
Thanks for the help.