chore: update API-internal

This commit is contained in:
xianshenglu 2023-11-12 00:35:10 +08:00
parent e0003064f1
commit 5daae30882
1 changed files with 20 additions and 0 deletions

View File

@ -83,3 +83,23 @@ None
| blitImage | (x, y, width, height, arr, offset, from_queue) | Blit pixels (of R,G,B,A) to the display
| drawImage | (img, x, y) | Draw image and track damage
| autoscale | (containerWidth, containerHeight) | Scale the display
## 2.3 Clipboard Module
### 2.3.1 Configuration Attributes
None
### 2.3.2 Methods
| name | parameters | description
| ------------------ | ----------------- | ------------
| grab | () | Begin capturing clipboard events
| ungrab | () | Stop capturing clipboard events
### 2.3.3 Callbacks
| name | parameters | description
| ------- | ---------- | ------------
| onpaste | (text) | Called with the text content of the clipboard when the user paste something