I have some buttons with badges. I want to set selected when it clicked. How to achieve?
Hello @Naufil, In such case, you can add the styling like next: https://snippet.webix.com/kwlx9jmz - here is custom CSS applied to the badges in the button.
Or, depending on a use-case, you can try to use toggle button: https://snippet.webix.com/vy5tfzcb
That's great @annazankevich. Thank you.
It doesn't work as expected. when I click outside button then css gets reset @annazankevich.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Hello @Naufil,
In such case, you can add the styling like next:
https://snippet.webix.com/kwlx9jmz - here is custom CSS applied to the badges in the button.
Or, depending on a use-case, you can try to use toggle button:
https://snippet.webix.com/vy5tfzcb
That's great @annazankevich. Thank you.
It doesn't work as expected. when I click outside button then css gets reset @annazankevich.