In a previous example, “Adding icons to a Flex Accordion control”, we saw how you could add embedded icons to a Flex Accordion container by setting the icon
style.
The following example shows how you can set a separate icon on an Accordion header when the header is selected by looping over each header using the getHeaderAt()
method and setting the selectedUpIcon
, selectedOverIcon
, and selectedDownIcon
styles.
Full code after the jump.
Continue reading Adding icons to a Flex Accordion control (redux)