| Package | Description |
|---|---|
| org.dominokit.domino.ui.collapsible |
| Modifier and Type | Method and Description |
|---|---|
Accordion |
Accordion.appendChild(AccordionPanel panel)
Adds an Accordion panel to the Accordion
|
Accordion |
Accordion.appendChild(AccordionPanel panel,
boolean overrideColors)
Adds an accordion panel to the accordion and allow overriding the accordion panel colors with
the colors from the Accordion
|
static Accordion |
Accordion.create()
A facttory to create a new Accordion instance
|
Accordion |
Accordion.danger()
Set the header background to
Color.RED |
Accordion |
Accordion.dangerFull()
Set the header and body background to
Color.RED |
Accordion |
Accordion.multiOpen()
Set the Accordion to allow multiple open AccordionPanels
|
Accordion |
Accordion.primary()
Set the header background to
Color.BLUE |
Accordion |
Accordion.primaryFull()
Set the header and body background to
Color.BLUE |
Accordion |
Accordion.setBodyBackground(Color color)
Set the body background to a custom color
|
Accordion |
Accordion.setHeaderBackground(Color color)
Set the header background to a custom color
|
Accordion |
Accordion.setPanelCollapseStrategy(CollapseStrategy strategy) |
Accordion |
Accordion.success()
Set the header background to
Color.GREEN |
Accordion |
Accordion.successFull()
Set the header and body background to
Color.GREEN |
Accordion |
Accordion.warning()
Set the header background to
Color.ORANGE |
Accordion |
Accordion.warningFull()
Set the header and body background to
Color.ORANGE |
Copyright © 2019–2022 Dominokit. All rights reserved.