Directory

DOM - Vaadin Add-on Directory

Manipulate DOM attributes of any component from the server side. DOM - Vaadin Add-on Directory
The DOM extension allows you to set any DOM attribute from the server side. CSS properties have a separate API for manipulating them easily. Examples: // Set the title attribute for the component new Dom(component).setAttribute("title", "A normal tooltip for this component"); // Manipulate the inline style of the component new Dom(component).getStyle().opacity(0.5).setProperty("white-space", "nowrap");