Skip to content

Commit 2232245

Browse files
Xoshbingezihuzi
authored andcommitted
docs(clipboard): Fixed typo from rbga to rgba (tauri-apps#2499)
1 parent 30c8852 commit 2232245

File tree

1 file changed

+1
-1
lines changed
  • plugins/clipboard-manager/guest-js

1 file changed

+1
-1
lines changed

plugins/clipboard-manager/guest-js/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ async function writeImage(
9191
* import { readImage } from '@tauri-apps/plugin-clipboard-manager';
9292
*
9393
* const clipboardImage = await readImage();
94-
* const blob = new Blob([await clipboardImage.rbga()], { type: 'image' })
94+
* const blob = new Blob([await clipboardImage.rgba()], { type: 'image' })
9595
* const url = URL.createObjectURL(blob)
9696
* ```
9797
* @since 2.0.0

0 commit comments

Comments
 (0)