I am trying to get a button with style "btn-link"....
# kvision
j
I am trying to get a button with style "btn-link". But whenever I use the "button" DSL, there is always a class added automatically (usually "btn-primary"). Removing the ButtonStyle is not possible unfortunately. I want to achieve this:
Copy code
<button class="btn btn-link">
I think something like this should be possible:
Copy code
style = ButtonStyle.NONE
For context: I am currently trying to implement this:
r
Why don't you use
ButtonStyle.LINK
?
j
because I am blind....
r
🙂
And if you really, really want just a plain button you can always do:
Copy code
tag(TAG.BUTTON, "Plain button").onClick {
                    // ...
                }
👍 1