Skip to content

Latest commit

 

History

History
55 lines (29 loc) · 1.37 KB

File metadata and controls

55 lines (29 loc) · 1.37 KB

Latite Scripting Documentation (Exports)


Exports > lib/clipboard > include > Clipboard

Clipboard

Interface

Source: lib/clipboard.d.ts:2

Methods

get()

get(): string

Gets the current clipboard text

Source: lib/clipboard.d.ts:6

Returns

string

getBitmap()

getBitmap(): null | Uint8Array

Gets the copied bitmap. If the clipboard is unable to be opened, it will return null

Source: lib/clipboard.d.ts:18

Returns

null | Uint8Array

set()

set(str: string): void

Sets the clipboard text

Source: lib/clipboard.d.ts:12

Parameters

Parameter Type Description
str string The text to set the clipboard to

Returns

void