Depot
A component with a header and content component which shows and hide the content when user clicks on the header.
This is a Vaadin wrapper for GWT's DisclosurePanel: A widget that consists of a header and a content panel that discloses the content when a user clicks on the header.
You can set any component as a header and a content. When the user clicks on the header, the visibility of the content will be toggled. It supports an roll down animation of the content, toggling visibility of the content programmatically and attaching server side handlers to notice a toggle on visibility.
Experimental first release of the component to verify the principle and asses usefulness of the add-on. Works only with Vaadin 7.
There are known sizing issues with this add-on. Some components as content does not get sized correctly, for example Table, which causes it to not be visible. Also the reflow of the reflow of the components where the Depot is in happens too early when the animation is on, which will cause that the components below the Depot will not be pushed down as they should.
Links
Compatibility
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
Updated to latest Vaadin
- Released
- 2013-01-25
- Maturity
- EXPERIMENTAL
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 7.0+
- Browser
- Firefox
- Opera
- Safari
- Google Chrome
Depot - Vaadin Add-on Directory
A component with a header and content component which shows and hide the content when user clicks on the header.Online Demo
Issue Tracker
Source Code
Depot version 0.1.0
Initial experimental release.
Depot version 0.3.0
Updated to latest Vaadin