Differences

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

Link to this comparison view

Both sides previous revision Previous revision
web:accordion [2019/06/06 21:03]
agcyphers [Methods]
web:accordion [2019/10/23 05:53] (current)
Line 18: Line 18:
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
 | AddItem( newItem as GraffitiWebAccordionItem ) | Adds a new accordion section to the control and updates the display. | | AddItem( newItem as GraffitiWebAccordionItem ) | Adds a new accordion section to the control and updates the display. |
-| FindItem( ItemText as [[http://​developer.xojo.com/​string|String]] ) as GraffitiWebAccordionItem | Searches through the array of child items looking for a caption of ItemText. |+| FindItem( ItemText as String ) as GraffitiWebAccordionItem | Searches through the array of child items looking for a caption of ItemText. |
 | FindItemIndex( itemText as String ) as GraffitiWebAccordionItem | ::: | | FindItemIndex( itemText as String ) as GraffitiWebAccordionItem | ::: |
-| RemoveItem( ItemIndex as [[http://​developer.xojo.com/​integer|Integer]] ) | Removes the item at the specified index and updates the display. | +| RemoveItem( ItemIndex as Integer ) | Removes the item at the specified index and updates the display. | 
-| RemoveItem( ItemText as [[http://​developer.xojo.com/​string|String]] ) | Searches through the array of child items to remove the section with the matching caption and updates the display. |+| RemoveItem( ItemText as String ) | Searches through the array of child items to remove the section with the matching caption and updates the display. |
 | Update() | Updates the display. Must be used if you manually change any properties of the GraffitiWebAccordionItems. | | Update() | Updates the display. Must be used if you manually change any properties of the GraffitiWebAccordionItems. |
  
 ==== Properties ==== ==== Properties ====
 ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^ ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
-| CollapsedIcon ​| [[http://​developer.xojo.com/​string|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 ​| [[http://​developer.xojo.com/​string|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. |
 | StyleHeaderActive | [[http://​developer.xojo.com/​webstyle|WebStyle]] | Nil | WebStyle to apply to active header elements. | | StyleHeaderActive | [[http://​developer.xojo.com/​webstyle|WebStyle]] | Nil | WebStyle to apply to active header elements. |
 | StyleHeaderInactive | [[http://​developer.xojo.com/​webstyle|WebStyle]] | Nil | WebStyle to apply to inactive header elements. | | StyleHeaderInactive | [[http://​developer.xojo.com/​webstyle|WebStyle]] | Nil | WebStyle to apply to inactive header elements. |