Expand description
延迟显示骨架屏组件。 延迟骨架屏包装组件
200ms 内完全不渲染骨架屏,避免快速加载时骨架屏一闪而过;
超过 200ms 后渲染骨架屏;占位块自带扫光(.skeleton),提示正在加载。
导航挂起(is-route-pending)期间挂载时立即显示,接上路由骨架。
Structs§
- Delayed
Skeleton Props - Props for the
DelayedSkeletoncomponent.
Constants§
- SKELETON_
DELAY_ 🔒MS - 骨架屏显示延迟(毫秒)。
Functions§
- Delayed
Skeleton - 延迟渲染的骨架屏包装组件。