Directory

← Back

DOM

Manipulate DOM attributes of any component from the server side.

Author

Contributors

Rating

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

Compatibility

0.1.0
(24)
(23)
(22)
(21)
(20)
(19)
(18)
(17)
(16)
(15)
(14)
(13)
(12)
(11)
(10)
(8.10)
(8.9)
(8.8)
(8.7)
(8.6)
(8.5)
(8.4)
(8.3)
(8.2)
(8.1)
(8.0)
7.0-7.7Y
(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

Initial release

Released
2014-04-28
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.0+
Browser
Internet Explorer
Firefox
Opera
Safari
Google Chrome
Internet Explorer
iOS Browser
Android Browser
Internet Explorer
Internet Explorer
Windows Phone

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