Advanced User Interface Controls and Components
Specifies an object that contains all style settings for the Accordion.
An Object which contains all style settings in Accordion directive.
controlStyle = {
general: 'iui-accordion',
group: {
general: 'iui-accordion',
header: {
content: 'iui-accordion-group-header-content',
disabled: 'iui-accordion-group-header-disabled',
focused: 'iui-accordion-group-header-focused',
normal: 'iui-accordion-group-header',
hovered: 'iui-accordion-group-header-hovered',
selected: 'iui-accordion-group-header-selected'
},
content: {
disabled: 'iui-accordion-group-content-disabled',
focused: 'iui-accordion-group-content-focused',
normal: 'iui-accordion-group-content',
hovered: 'iui-accordion-group-content-hovered',
selected: 'iui-accordion-group-content-selected'
}
}
}
This property is accessed through 'control-style' attribute of Accordion directive.
You can use this property to change the appearance of the Accordion dynamically from code. By simply setting custom CSS classes in your app code and apply the name of the class to some of above style fields, you can override the default appearance of the Accordion.
Supported in: v1.0.