jQuery UI API - Clip Effect
Category
Usage
**Description:** The Clip Effect hides or shows an element by clipping it vertically or horizontally.
clip
| Parameters | Type | Description | Default value |
|---|---|---|---|
| direction | String | The direction in which the Clip Effect hides or shows the element. | |
| vertical clips the top and bottom edges; horizontal clips the left and right edges. | "vertical" |
Example
Toggle a div with the Clip Effect.
剪辑特效(Clip Effect)演示
点击任意地方进行切换。