Skip to content
This repository has been archived by the owner on Apr 4, 2018. It is now read-only.

Commit

Permalink
Added data types to the readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
deleteme committed Apr 5, 2009
1 parent 650db8c commit 66b0b38
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ new Accordion('anotherId', options);</pre>

h2. Options

|_.Option|_.Default Value|_.Description|
|cancelEvent|true|When the title element is clicked, if this option is set to true, will cancel the event, therefore preventing the anchor to load a new page or modify the address bar.|
|classNames|{ section: 'section', title: 'title', toggle: 'toggle', expanded: 'expanded' }|Allows you to use custom CSS class names to describe the elements used.|
|mutuallyExclusive|true|If this is set to false, multiple sections can be visible at the same time.|
|effectDuration| .3|The duration of the underlying BlindUp/BlindDown Scriptaculous effects.|
|_.Option|_.Type|_.Default Value|_.Description|
|cancelEvent|Boolean|true|When the title element is clicked, if this option is set to true, will cancel the event, therefore preventing the anchor to load a new page or modify the address bar.|
|classNames|Object|{ section: 'section', title: 'title', toggle: 'toggle', expanded: 'expanded' }|Allows you to use custom CSS class names to describe the elements used.|
|mutuallyExclusive|Boolean|true|If this is set to false, multiple sections can be visible at the same time.|
|effectDuration|Number| .3|The duration of the underlying BlindUp/BlindDown Scriptaculous effects.|

h4. Options: classNames

|_.Name|_.Default Value_.Description|
|section|'section'|A CSS class on the element that contains the title and the toggle element.|
|title|'title'|A CSS class on the element that is clicked to show or hide sections.|
|toggle|'toggle'|A CSS class on the element that is to be shown or hidden when the title element is clicked.|
|expanded|'expanded'|A CSS class that is on the section element when the section is expanded.|
|_.Name|_.Type|_.Default Value|_.Description|
|section|String|'section'|A CSS class on the element that contains the title and the toggle element.|
|title|String|'title'|A CSS class on the element that is clicked to show or hide sections.|
|toggle|String|'toggle'|A CSS class on the element that is to be shown or hidden when the title element is clicked.|
|expanded|String|'expanded'|A CSS class that is on the section element when the section is expanded.|


h2. Custom Events
Expand Down

0 comments on commit 66b0b38

Please sign in to comment.