mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-30 17:48:50 +02:00
docs(clipboard): Fixed typo from rbga to rgba (#2499)
This commit is contained in:
@@ -91,7 +91,7 @@ async function writeImage(
|
|||||||
* import { readImage } from '@tauri-apps/plugin-clipboard-manager';
|
* import { readImage } from '@tauri-apps/plugin-clipboard-manager';
|
||||||
*
|
*
|
||||||
* const clipboardImage = await readImage();
|
* const clipboardImage = await readImage();
|
||||||
* const blob = new Blob([await clipboardImage.rbga()], { type: 'image' })
|
* const blob = new Blob([await clipboardImage.rgba()], { type: 'image' })
|
||||||
* const url = URL.createObjectURL(blob)
|
* const url = URL.createObjectURL(blob)
|
||||||
* ```
|
* ```
|
||||||
* @since 2.0.0
|
* @since 2.0.0
|
||||||
|
|||||||
Reference in New Issue
Block a user