chat-app/src/uni_modules/tmui/components/tm-scrolly/propsdetail.ts
scout b54bfe63ad
Some checks are pending
Check / lint (push) Waiting to run
Check / typecheck (push) Waiting to run
Check / build (build, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build, 18.x, windows-latest) (push) Waiting to run
Check / build (build:app, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build:app, 18.x, windows-latest) (push) Waiting to run
Check / build (build:mp-weixin, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build:mp-weixin, 18.x, windows-latest) (push) Waiting to run
init
2024-11-11 14:46:14 +08:00

57 lines
1.2 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export const propsdetail = {
_class: {
type: String,
default: ""
},
_style: {
type: String,
default: ""
},
width: {
type: Number,
default: 0
},
height: {
type: Number,
default: 600
},
/** 提示语,组件内部默认值为 ['下拉刷新', '松手刷新', '正在刷新', '刷新完成'] */
loadingTexts: {
type: Array,
default: () => ['下拉刷新', '松手刷新', '正在刷新', '刷新完成']
},
/** 最大下拉高度,如果值为数字则单位是:'px' */
maxBarHeight: {
type: Number,
default: 120
},
/** 刷新超时时间 */
refreshTimeout: {
type: Number,
default: 1000 * 5
},
/** 开启下拉刷新 值为 `true` 表示开启下拉刷新,值为 `false` 表示关闭下拉刷新*/
refresher: {
type: [Boolean],
default: true
},
/** 组件状态,值为 `true` 表示下拉状态,值为 `false` 表示收起状态 */
modelValue: {
type: [Boolean],
default: null
},
/** 组件状态,值为 `true` 表示下拉状态,值为 `false` 表示收起状态,非受控属性 */
defaultValue: {
type: Boolean,
default: false
},
/** 下拉高度多少触发单位rpx */
loadBarHeight: {
type: Number,
default: 120
},
bottomValue: {
type: [Boolean],
default: null
}
}