Directory

← Back

styletoggler

StyleToggler Extension

Author

Rating

Popularity

<100

Vaadin button extension which toggles another component's CSS style names on the client-side. Can be used to enhance the responsiveness of Vaadin applications by e.g. toggling menu visibility on / off without ne need of a server round-trip.

Sample code

Button enhancedButton = new Button("This button toggles the style"
		+ " on the client-side");
new StyleToggler(enhancedButton, layout, "red-bg-color");

Compatibility

1.0
(24.3)
(24.2)
(24.1)
(24)
(23)
(22)
(21)
(20)
(19)
(18)
(17)
(16)
(15)
(14)
(13)
(12)
(11)
(10)
(8.21)
(8.20)
(8.19)
(8.18)
(8.17)
(8.16)
(8.15)
(8.14)
(8.13)
(8.12)
(8.11)
(8.10)
(8.9)
(8.8)
(8.7)
(8.6)
(8.5)
(8.4)
(8.3)
(8.2)
(8.1)
(8.0)
7.6-7.7Y
(7.5)
(7.4)
(7.3)
(7.2)
(7.1)
(7.0)
(6.8)
(6.7)
(6.6)
(6.5)
(6.4)
(6.3)
(6.2)
(6.1)
(6.0)

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
2016-08-24
Maturity
EXPERIMENTAL
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.6+
Browser
N/A

styletoggler - Vaadin Add-on Directory

StyleToggler Extension styletoggler - Vaadin Add-on Directory
Vaadin button extension which toggles another component's CSS style names on the client-side. Can be used to enhance the responsiveness of Vaadin applications by e.g. toggling menu visibility on / off without ne need of a server round-trip.
Online