mirror of
https://github.com/tauri-apps/tauri-plugin-clipboard-manager.git
synced 2026-01-31 00:45:19 +01:00
docs(clipboard): Fixed typo from rbga to rgba (#2499)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/13707554123 Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
This commit is contained in:
committed by
tauri-bot
parent
1361ccd58f
commit
3bc80eef9a
@@ -83,7 +83,7 @@ async function writeImage(image$1) {
|
||||
* import { readImage } from '@tauri-apps/plugin-clipboard-manager';
|
||||
*
|
||||
* 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)
|
||||
* ```
|
||||
* @since 2.0.0
|
||||
|
||||
2
dist-js/index.d.ts
vendored
2
dist-js/index.d.ts
vendored
@@ -62,7 +62,7 @@ declare function writeImage(image: string | Image | Uint8Array | ArrayBuffer | n
|
||||
* import { readImage } from '@tauri-apps/plugin-clipboard-manager';
|
||||
*
|
||||
* 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)
|
||||
* ```
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -81,7 +81,7 @@ async function writeImage(image) {
|
||||
* import { readImage } from '@tauri-apps/plugin-clipboard-manager';
|
||||
*
|
||||
* 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)
|
||||
* ```
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -91,7 +91,7 @@ async function writeImage(
|
||||
* import { readImage } from '@tauri-apps/plugin-clipboard-manager';
|
||||
*
|
||||
* 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)
|
||||
* ```
|
||||
* @since 2.0.0
|
||||
|
||||
Reference in New Issue
Block a user