Skip to content
On this page

LoadMore 页底

vue
<template>
  <ta-group title="基础用法">
    <ta-load-more></ta-load-more>
  </ta-group>
  <ta-group title="Slot defaut">
    <ta-load-more>暂无数据</ta-load-more>
  </ta-group>
  <ta-group title="loading=true">
    <ta-load-more loading>加载中...</ta-load-more>
  </ta-group>
</template>

<script lang="ts">
import { defineComponent } from 'vue'

export default defineComponent({
  name: 'ExpLoadMore'
})
</script>

Import

js
import { TaLoadMore } from 'tantalum-ui-mobile'

具体的引入方式可以参考引入组件

Props

属性类型默认值必填说明
loadingbooleantrue是否显示为加载中状态

Slots

附加内容(#default)

vue
<ta-load-more loading>加载中...</ta-load-more>