We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
视觉稿 https://codesign.woa.com/s/YnZaJlvNRPDnWjb 访问密码:BCW6
API: TDesignOteam/tdesign-api#234
与 PC 同名组件表现基本一致,实现上也可参考 PC端。
{ content: '返回', theme: 'default' }
ButtonProps
TNode<{ current: number; total: number }>
v-model
v-model:current
{ content: '完成', theme: 'primary' }
Array<GuideStep>
(context: { e: MouseEvent, current: number, total: number }) => void
(current: number, context?: { e: MouseEvent, total: number }) => void
(context: { e: MouseEvent, next: number, current: number, total: number }) => void
(context: { e: MouseEvent, current: number, total: number })
(current: number, context?: { e: MouseEvent, total: number })
(context: { e: MouseEvent, next: number, current: number, total: number })
string | TNode
placement
offset
element
TNode
AttachNode
mode
popover
Array<string | number>
StepPopoverPlacement
type StepPopoverPlacement = 'top'|'left'|'right'|'bottom'|'top-left'|'top-right'|'bottom-left'|'bottom-right'|'left-top'|'left-bottom'|'right-top'|'right-bottom'|'center'
mode=popover
PopoverProps
pull request
The text was updated successfully, but these errors were encountered:
👋 @anlyyao,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
任何人都可以处理此问题。 请务必在您的 pull request 中引用此问题。 ✨ 感谢你的贡献! ✨
Successfully merging a pull request may close this issue.
视觉稿
https://codesign.woa.com/s/YnZaJlvNRPDnWjb
访问密码:BCW6
API: TDesignOteam/tdesign-api#234
初版的 API,基本摘自 PC,欢迎讨论,可以持续优化~
Guide Props
{ content: '返回', theme: 'default' }
。TS 类型:ButtonProps
TNode<{ current: number; total: number }>
。通用类型定义v-model
或v-model:current
{ content: '完成', theme: 'primary' }
。TS 类型:ButtonProps
ButtonProps
,Button API Documents。详细类型定义ButtonProps
Array<GuideStep>
(context: { e: MouseEvent, current: number, total: number }) => void
点击返回按钮时触发
(current: number, context?: { e: MouseEvent, total: number }) => void
当前步骤发生变化时触发
(context: { e: MouseEvent, current: number, total: number }) => void
点击完成按钮时触发
(context: { e: MouseEvent, next: number, current: number, total: number }) => void
点击下一步时触发
(context: { e: MouseEvent, current: number, total: number }) => void
点击跳过按钮时触发
Guide Events
(context: { e: MouseEvent, current: number, total: number })
(current: number, context?: { e: MouseEvent, total: number })
(context: { e: MouseEvent, current: number, total: number })
(context: { e: MouseEvent, next: number, current: number, total: number })
(context: { e: MouseEvent, current: number, total: number })
GuideStep
ButtonProps
string | TNode
。通用类型定义placement
、offset
和element
外,其它属性全部失效)。TS 类型:TNode
。通用类型定义AttachNode
。通用类型定义mode
为popover
时生效)。TS 类型:TNode
。通用类型定义ButtonProps
Array<string | number>
mode
为popover
时生效)。TS 类型:StepPopoverPlacement
type StepPopoverPlacement = 'top'|'left'|'right'|'bottom'|'top-left'|'top-right'|'bottom-left'|'bottom-right'|'left-top'|'left-bottom'|'right-top'|'right-bottom'|'center'
。详细类型定义mode=popover
时有效。TS 类型:PopoverProps
,Popover API Documents。详细类型定义ButtonProps
string | TNode
。通用类型定义IssueShoot
pull request
并合并为准The text was updated successfully, but these errors were encountered: