Directory

ToggleButton - Vaadin Add-on Directory

ToggleButton and ButtonGroup. ToggleButton - Vaadin Add-on Directory
This add-on adds Toggle functionality to Vaadin Buttons. It also includes a ButtonGroup manager which can create or register Buttons and manage the selection so that only one button is selected at a moment. It includes 3 APIs: - ToggleButton - Button with toggle capability. - ToggleExtension - Extension to be used with a Button, adding toggle capability the Button. - ButtonGroup - manage multiple buttons with a single button selected. For now, adding the Buttons registered with a ButtonGroup on your UI is your responsibility. ButtonGroup only manages the selection so that only one button is selected. Current beta version doesn't work with Valo. It was tested mainly against Reindeer. By default the style of the selected state is the button pressed style, so in your scss file please move the @import and @include declarations of the togglebutton after the framework theme.