Directory

← Back

PaperToggleButtonv14

Paper Toggle Button Wrapper

Author

Rating

Popularity

100+

Paper Button Wrapper For Vaadin Flow (14+).

Sample code

private PaperToggleButton paperToggleButton = new PaperToggleButton();

        paperToggleButton.addValueChangeListener(valueChangedEvent -> {
            ThemeList themeList = UI.getCurrent().getElement().getThemeList();

            if (valueChangedEvent.getValue()) {
                themeList.add(Lumo.DARK);
            } else {
                themeList.remove(Lumo.DARK);
            }
        });
paperToggleButton.getValue();
paperToggleButton.setCheckedProperty()

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Released
2020-03-04
Maturity
EXPERIMENTAL
License
GNU General Public License v3.0 only

Compatibility

Framework
Vaadin 14+
Browser
Firefox
Opera
Google Chrome
iOS Browser
Android Browser
Windows Phone
Microsoft Edge

PaperToggleButtonv14 - Vaadin Add-on Directory

Paper Toggle Button Wrapper PaperToggleButtonv14 - Vaadin Add-on Directory
Paper Button Wrapper For Vaadin Flow (14+).
Online