mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
wip js/ts examples
This commit is contained in:
1 parent
3aee4976c3
commit
d44c42104e
7 files changed
+602
-163
No files matched your search
@@ -2,12 +2,28 @@
|
||||
title: Clipboard
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
### lib.setClipboard
|
||||
|
||||
Sets the player's clipboard to the specified string value.
|
||||
|
||||
<Tabs>
|
||||
<TabItem value='Lua'>
|
||||
|
||||
```lua
|
||||
-- value: string
|
||||
lib.setClipboard(value)
|
||||
```
|
||||
</TabItem>
|
||||
<TabItem value='JS/TS'>
|
||||
|
||||
```ts
|
||||
import lib from '@overextended/ox_lib/client'
|
||||
|
||||
lib.setClipboard(value)
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
* value: `string`
|
||||
Reference in new issue
Block a user