UNPKG

@daysnap/horn-ui

Version:

hron ui

47 lines (44 loc) 848 B
import type { ExtractPropTypes } from 'vue' export const horScrollProps = { loadingText: { type: String, default: '加载中,请稍后...', }, pullingText: { type: String, default: '↓ 下拉即可刷新', }, loosingText: { type: String, default: '↑ 释放即可刷新', }, successText: { type: String, default: '刷新成功', }, successDuration: { type: [String, Number], default: 1000, }, finishedText: { type: String, default: '没有更多了', }, finished: { type: Boolean, default: false, }, offset: { type: [String, Number], default: 100, }, pullDisabled: { type: Boolean, default: false, }, listDisabled: { type: Boolean, default: false, }, } export type HorScrollProps = ExtractPropTypes<typeof horScrollProps>