Skip to content

Commit

Permalink
Merge pull request #7211 from Ghaining/patch-3
Browse files Browse the repository at this point in the history
Update getClipboardData.md
  • Loading branch information
Chen-jj authored Aug 1, 2020
2 parents 806c2a2 + 62967e6 commit 0077702
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Taro.getClipboardData(param)
sidebar_label: getClipboardData
sidebar_label: getClipBoardData
---

获取系统剪贴板的内容。
Expand Down Expand Up @@ -30,13 +30,13 @@ data|string|剪贴板的内容
```jsx
import Taro from '@tarojs/taro'

Taro.getClipboardData(params).then(...)
Taro.getClipBoardData(params).then(...)
```

## API支持度


| API | 微信小程序 | H5 | React Native |
| :-: | :-: | :-: | :-: |
| Taro.getClipboardData | ✔️ | ✔️(部分实现) | ✔️ |
| Taro.getClipBoardData | ✔️ | ✔️(部分实现) | ✔️ |

0 comments on commit 0077702

Please sign in to comment.