组件/LoadingState 加载态
自 1.0.0BETA

LoadingState 加载态

用于加载中占位展示。

该页面由 AI 迁移生成,请谨慎使用

内容已迁移完成,但仍建议结合源码和人工评审结果使用。

LoadingState 加载态

TxLoadingStateTxEmptyState 的快捷封装,自动设置 variant="loading",用于加载中占位展示。

基础用法

LoadingState

示例即将加载...
<template>
  <TxLoadingState description="Loading official plugins..." />
</template>

API

TxLoadingState 继承 TxEmptyState 的全部 Props(除 variant)、Slots 和 Events,详见 EmptyState

交互契约

  • TxLoadingState 始终向 TxEmptyState 透传 variant="loading"
  • 组件不额外改写 titledescriptionloading 或 action 配置;显式 props 会原样透传。
  • icontitledescriptionactions 插槽会原样转发给 TxEmptyState