Skip to content

Transition Animation Example

This example demonstrates how to use Gueleton’s leave animation feature in Vue components.

In the example, we add leave animation effects to the container containing multiple tweet cards through the container.leave property. When the user clicks the “Reload Data” button and data loading is completed, the currently displayed skeleton placeholder will first execute the leave animation, wait for the animation to finish, and then display the new content.

Click Reload Data to see the effect

控制是否显示骨架屏

调整生成骨架的粒度

Style

type 为 overlay 时效果明显

Network

模拟网络延迟时间