External module scripts/bg/clipboard
Events
onChromeMessage
- onChromeMessage(request: IMsgType, sender: MessageSender, response: ChromeMsg.ResponseCB): boolean
-
Parameters
-
-
sender: MessageSender
-
response: ChromeMsg.ResponseCB
Returns boolean
true if asynchronous
Variables
Const WAIT_MILLIS
WAIT_MILLIS: 250 = 250
Functions
addClipItemFromClipboard
- addClipItemFromClipboard(): Promise<void>
copyToClipboard
- copyToClipboard(text: string): void
getTextFromClipboard
- getTextFromClipboard(): string
sendLocalClipItem
- sendLocalClipItem(clipItem: ClipItem): Promise<void>
-
Parameters
Returns Promise<void>
Manage the clipboard