mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
dialog close functions
This commit is contained in:
1 parent
15863b8508
commit
c318cdb467
2 files changed
+44
No files matched your search
@@ -78,6 +78,27 @@ you can define `options` **ONLY** with type `'select'`.
|
||||
Doing so otherwise ***will*** result in errors.
|
||||
:::
|
||||
|
||||
### lib.closeInputDialog
|
||||
|
||||
Force closes the active input dialog and sets its return data as `nil`
|
||||
|
||||
<Tabs>
|
||||
<TabItem value='Lua'>
|
||||
|
||||
```lua
|
||||
lib.closeInputDialog()
|
||||
```
|
||||
</TabItem>
|
||||
<TabItem value='JS/TS'>
|
||||
|
||||
```ts
|
||||
import lib from '@overextended/ox_lib/client'
|
||||
|
||||
lib.closeInputDialog()
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
## Usage Example
|
||||
|
||||
### Basic
|
||||
|
||||
Reference in new issue
Block a user