Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
web:accordion [2019/10/23 00:53]
127.0.0.1 external edit
web:accordion [2020/04/16 13:17] (current)
agcyphers [Properties]
Line 14: Line 14:
 | HeaderCollapsed( CollapsedItem as GraffitiWebAccordionItem ) | This event is fired when an accordion section is collapsed. | | HeaderCollapsed( CollapsedItem as GraffitiWebAccordionItem ) | This event is fired when an accordion section is collapsed. |
 | HeaderExpanded( ExpandedItem as GraffitiWebAccordionItem ) | This event is fired when an accordion section is expanded. | | HeaderExpanded( ExpandedItem as GraffitiWebAccordionItem ) | This event is fired when an accordion section is expanded. |
 +| HeightChanged() | Raised when the height of the component has changed due to a change in its displayed content and AutoHeight = True. |
  
 ==== Methods ==== ==== Methods ====
Line 26: Line 27:
 ==== Properties ==== ==== Properties ====
 ^ Name      ^ Type       ^ Default Value       ^ Description       ^ ^ Name      ^ Type       ^ Default Value       ^ Description       ^
 +| AutoHeight | Boolean | False | When True, the control will automatically change height depending on what content is currently displayed. |
 | CollapsedIcon | String | "fa-plus-square" | A FontAwesome icon string for the icon used when items are collapsed. | | CollapsedIcon | String | "fa-plus-square" | A FontAwesome icon string for the icon used when items are collapsed. |
 | ExpandedIcon | String | "fa-minus-square" | A FontAwesome icon string for the icon used when items are expanded. | | ExpandedIcon | String | "fa-minus-square" | A FontAwesome icon string for the icon used when items are expanded. |