Skip to content

Commit

Permalink
feat(vue): update vue3 & vue animation doc
Browse files Browse the repository at this point in the history
  • Loading branch information
zealotchen0 committed Nov 24, 2023
1 parent fadfc8c commit 80c382c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/hippy-vue/external-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default {
### start

`() => void` 手动触发动画开始(`playing`属性置为`true`也会自动触发`start`函数调用)
`() => void` 手动触发动画开始(`playing`属性置为`true`也会自动触发`start`函数调用, 首次触发动画

### pause

Expand All @@ -134,11 +134,11 @@ export default {

`() => void` 手动触发动画继续(`playing`属性置为`false`后再置为`true`会自动触发`resume`函数调用)

### create
### create

`() => void` 手动触发动画创建
`() => void` 手动触发动画创建(首次创建动画,或在 destroy 后重新创建动画调用)

### reset
### reset

`() => void` 重置开始标记

Expand Down
8 changes: 8 additions & 0 deletions docs/hippy-vue/vue3.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@
@hippy/vue-next 支持的能力与 @hippy/vue 基本一致。因此关于 Hippy-Vue 的组件、模块、样式等就不做额外声明了,可以直接参考 [Hippy-Vue](hippy-vue/introduction)
中的相关内容,本文档仅对差异部分进行说明:

demo 参考:https://github.com/Tencent/Hippy/tree/master/examples/hippy-vue-next-demo

```javascript
"@hippy/vue-next": "v2.17-latest",
"@hippy/vue-router-next-history": "latest",
```


## 初始化

```javascript
Expand Down

0 comments on commit 80c382c

Please sign in to comment.