Attributes |
Name | Required | Request-time | Type | Description |
defaultShowContent | false | true | boolean | Sets whether to initially show content by default. The default value is true . |
hideImage | false | true | java.lang.String | Sets an icon as the mechanism to hide the content. You can specify the location of an image file to use in the icon; otherwise a default icon is used. |
hideMessage | false | true | java.lang.String | Sets the text to display as a link to hide the content. It overrides the hideImage attribute. Note that the showMessage attribute must also be configured in order for the hide message to render. |
id | true | true | java.lang.String | Identifies the component instance whose content to toggle. |
showImage | false | true | java.lang.String | Sets an icon as the mechanism to show the content. You can specify the location of an image file to use in the icon; otherwise a default icon is used. |
showMessage | false | true | java.lang.String | Sets a link as the mechanism to show the content. The text value of this attribute is used as the link's text. The message takes precedence over showing an image, via the showImage attribute. If you specify a showMessage attribute, you should also specify the hideMessage attribute; a null is otherwise displayed for the text of the hide link. |
stateVar | false | true | java.lang.String | Sets text to be prefixed to the Toggle() function that is called to toggle the content. If this is not configured, a random key is generated and prefixed to the Toggle() function. For example, a value of run would result in a function named runToggle() . |