Iron Collapse Button
A wrapper for Iron Collapse Button
See https://www.webcomponents.org/element/jifalops/iron-collapse-button. An iron-collapse with a trigger section and optional expand/collapse icons.
Note that this functionality is now covered by com.vaadin.flow.component.details.Details.
Sample code
@Route("") public class DemoView extends Div { public DemoView() { add(new Label("This is the demo:")); IronCollapseButton b = new IronCollapseButton("Click me"); b.addContent(new Span("Lorem ipsum dolor sit ...")); add(b); } }
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
Added 'flex' feature to display icon on right side of div. Removed non-working feature triggerBelowContent
- Released
- 2019-02-24
- Maturity
- STABLE
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 10+
- Browser
- Browser Independent
Iron Collapse Button - Vaadin Add-on Directory
A wrapper for Iron Collapse ButtonSee https://www.webcomponents.org/element/jifalops/iron-collapse-button.
An iron-collapse with a trigger section and optional expand/collapse icons.
Note that this functionality is now covered by com.vaadin.flow.component.details.Details.