Manipulate DOM attributes of any component from the server side.

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");

Install

Link to this version
BetaReleased 28 April 2014Apache License 2.0
Framework Support
Vaadin 7.0+
Browser Compatibility
8
9
10
11
Install with
Release notes - Version 0.1.0

Initial release