mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
dcos: update Tour api doc (#38877)
This commit is contained in:
parent
13e5451207
commit
e12580bedb
@ -32,6 +32,9 @@ Use when you want to guide users through a product.
|
||||
| onClose | Callback function on shutdown | `Function` | - | |
|
||||
| mask | Whether to enable masking | `boolean` | `true` | |
|
||||
| type | Type, affects the background color and text color | `default` `primary` | `default` | |
|
||||
| open | Open tour | `boolean` | - | |
|
||||
| onChange | Callback when the step changes. Current is the previous step | `(current: number) => void` | - | |
|
||||
| current | What is the current step | `number` | - | |
|
||||
|
||||
### TourStep
|
||||
|
||||
|
@ -34,6 +34,9 @@ demo:
|
||||
| onFinish | 引导完成时的回调 | `Function` | - | |
|
||||
| mask | 是否启用蒙层 | `boolean` | `true` | |
|
||||
| type | 类型,影响底色与文字颜色 | `default` \| `primary` | `default` | |
|
||||
| open | 打开引导 | `boolean` | - | |
|
||||
| onChange | 步骤改变时的回调,current 为当前前的步骤 | `(current: number) => void` | - | |
|
||||
| current | 当前处于哪一步 | `number` | - | |
|
||||
|
||||
### TourStep 引导步骤卡片
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user