Attributes |
Name | Required | Request-time | Type | Description |
align | false | true | java.lang.String | A value for aligning the toggle control. This can be any of the valid values for the CSS float property. |
defaultShowContent | false | true | boolean | Whether to initially show content by default. The default value is true . |
hideImage | false | true | java.lang.String | An icon to use as the mechanism for hiding 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 | Text to display as a link for hiding 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 | false | true | java.lang.String | An ID for the component instance. |
showImage | false | true | java.lang.String | An icon to use as the mechanism for showing 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 | A link to use as the mechanism for showing 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 | Text to be prefixed to the Toggle() function that is called to toggle visibility of 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() . |