jQuery UI API - Fold Effect
Category
Usage
**Description:** The Fold Effect hides or shows an element by folding it.
fold
| Parameters | Type | Description | Default value |
|---|---|---|---|
| size | Number or String | The size of the element to be folded. | 15 |
| horizFirst | Boolean | Whether to fold horizontally first when hiding. Keep in mind that the order is reversed when showing. | false |
Example
Toggle a div using the Fold Effect.
折叠特效(Fold Effect)演示
点击任意地方进行切换。