mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
562 B
562 B
title
| title |
|---|
| Clipboard |
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
lib.setClipboard
Sets the player's clipboard to the specified string value.
:::caution
Will not work if focus is already taken by some NUI component. :::
:::caution
To create a new line use \t\n not just \n in your string.
:::
lib.setClipboard(value)
import lib from '@overextended/ox_lib/client'
lib.setClipboard(value)
- value:
string