mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
add clearRadialItems (#105)
This commit is contained in:
1 parent
207945914c
commit
46e5b46ad9
1 file changed
+21
@@ -62,6 +62,27 @@ lib.removeRadialItem(item)
|
||||
|
||||
* id: `string`
|
||||
|
||||
### lib.clearRadialItems
|
||||
|
||||
Removes all items from the radial menu.
|
||||
|
||||
<Tabs>
|
||||
<TabItem value='Lua'>
|
||||
|
||||
```lua
|
||||
lib.clearRadialItems()
|
||||
```
|
||||
</TabItem>
|
||||
<TabItem value='JS/TS'>
|
||||
|
||||
```ts
|
||||
import lib from '@overextended/ox_lib/client'
|
||||
|
||||
lib.clearRadialItems()
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
### lib.registerRadial
|
||||
|
||||
Registers a radial sub menu with predefined options.
|
||||
|
||||
Reference in new issue
Block a user