1.0.3 • Published 2 years ago
xverse-components-occupy-seat v1.0.3
API
| 参数名 | 类型 | 说明 | 默认值 | 是否必填 | 备注 |
|---|---|---|---|---|---|
| className | string | css | - | false | - |
| sitPoints | ISitPoint[] | 坐下事件点 | - | false | - |
| breathPointConfig | IBreathPoint | 呼吸点配置 | - | false | - |
| avatarSitAnimationIds | IActionItem[] | 角色动作配置 | - | false | 坐下动作配在第一个,idle 动作配在第二个 |
| standUpContainer | IContainerProps | 起立按钮容器 | - | false | - |
| standUpText | ITextProps | 起立按钮容器里面的文字部分 | - | false | - |
| standUpIconContainer | IContainerProps | 起立按钮容器里面的图片部分 | - | false | - |
| onSitEvent | () => void | 坐下事件 | - | false | 坐下后需要隐藏一些界面 |
| onStandUpEvent | () => void | 站起来事件 | - | false | 站起后需要处理一些界面 |