uview-plus
Version:
零云®uview-plus已兼容vue3支持多语言,120+全面的组件和便捷的工具会让您信手拈来。近期新增拖动排序、条码、图片裁剪、下拉刷新、虚拟列表、签名、Markdown等。
46 lines (39 loc) • 902 B
TypeScript
import { AllowedComponentProps, VNodeProps } from './_common'
declare interface GuideItem {
image: string
title?: string
desc?: string
backgroundColor?: string
}
declare interface GuideProps {
show?: boolean
list?: GuideItem[]
storageKey?: string
once?: boolean
showSkip?: boolean
skipText?: string
nextText?: string
finishText?: string
indicator?: boolean
bgColor?: string
zIndex?: string | number
['onUpdate:show']?: (value: boolean) => any
onChange?: (payload: { current: number }) => any
onSkip?: () => any
onFinish?: () => any
onClose?: () => any
}
declare interface _GuideRef {
open: () => void
close: (remember?: boolean) => void
reset: () => void
}
declare interface _Guide {
new (): {
$props: AllowedComponentProps &
VNodeProps &
GuideProps
}
}
export declare const Guide: _Guide
export declare const GuideRef: _GuideRef