From 46e5b46ad97d2758e1f6d3e3868f34ad59395158 Mon Sep 17 00:00:00 2001 From: Malcolm Keefe <27903055+Mkeefeus@users.noreply.github.com> Date: Mon, 20 Mar 2023 17:46:15 -0400 Subject: [PATCH] add clearRadialItems (#105) --- docs/ox_lib/Interface/Client/radial.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/ox_lib/Interface/Client/radial.md b/docs/ox_lib/Interface/Client/radial.md index 5e003587..563acffb 100644 --- a/docs/ox_lib/Interface/Client/radial.md +++ b/docs/ox_lib/Interface/Client/radial.md @@ -62,6 +62,27 @@ lib.removeRadialItem(item) * id: `string` +### lib.clearRadialItems + +Removes all items from the radial menu. + + + + +```lua +lib.clearRadialItems() +``` + + + +```ts +import lib from '@overextended/ox_lib/client' + +lib.clearRadialItems() +``` + + + ### lib.registerRadial Registers a radial sub menu with predefined options.