feat(web): support icon urls in radial menu (#487)

* feat(package): support icon urls in radial menu

* fix: update lua & ts types + clamp size parameters
This commit is contained in:
ktx-mega
2024-02-18 12:11:40 +01:00
committed by GitHub
parent bd6183aa04
commit 78891fb4b9
5 changed files with 27 additions and 5 deletions

View File

@@ -5,6 +5,8 @@
---@field onSelect? fun(currentMenu: string | nil, itemIndex: number) | string
---@field [string] any
---@field keepOpen? boolean
---@field iconWidth? number
---@field iconHeight? number
---@class RadialMenuItem: RadialItem
---@field id string