Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

jQuery UI API - Transfer Effect

jQuery UI API - Transfer Effect

Category

Effects

Usage

**Description:** Transfers the outline of one element to another element.

transfer

Parameters Type Description
className String The parameterized class name that the transferred element will receive.
to String A jQuery selector for the element to transfer to.

Useful when attempting a visual interaction between two elements.

The transferred element itself carries the class ui-effects-transfer; other styles need to be defined by you, such as adding a background or border.

Example

Click the green element to transfer it to another element.









  

  转移特效(Transfer Effect)演示