Skip to content

Commit

Permalink
Update Vue3.x composition-api介绍.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hLinx authored Jun 2, 2020
1 parent 102a7b4 commit 2dbee7f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Vue3.x composition-api介绍.md
Original file line number Diff line number Diff line change
Expand Up @@ -430,5 +430,14 @@ export default {
}
}
```
# 新增组件

## Teleport
> 接收两个属性
> to: String,值与document.querySelector接收的参数值相同,将字节点渲染到to指定的元素容器下面
> disabled: Boolean,默认false,为true时配置的to不生效
```
<Teleport to="element-selector" :disabled="false" />
```
# ...以上列出了使用中的高频api,更多介绍待更新

0 comments on commit 2dbee7f

Please sign in to comment.