mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-03 06:28:53 +00:00
context menu item icons
This commit is contained in:
1 parent
1363afcd2a
commit
26e93458ef
1 file changed
+4
@@ -17,6 +17,8 @@ Used for registering a context menu.
|
|||||||
-- item: key as string or table
|
-- item: key as string or table
|
||||||
-- title: string (optional - if item isn't key)
|
-- title: string (optional - if item isn't key)
|
||||||
-- menu: string (optional)
|
-- menu: string (optional)
|
||||||
|
-- icon: string (optional)
|
||||||
|
-- iconColor: string (optional)
|
||||||
-- arrow: boolean (optional)
|
-- arrow: boolean (optional)
|
||||||
-- description: string (optional)
|
-- description: string (optional)
|
||||||
-- metadata: string table or key, value table or table (optional)
|
-- metadata: string table or key, value table or table (optional)
|
||||||
@@ -38,6 +40,8 @@ that will take you to the menu you defined.
|
|||||||
`item` - Defined as a key, can be empty if you don't want it to do anything.
|
`item` - Defined as a key, can be empty if you don't want it to do anything.
|
||||||
`item/title` - If not using keys then sets the title for the button.
|
`item/title` - If not using keys then sets the title for the button.
|
||||||
`item/image` - Image url, puts the image at the top of the metadata popover.
|
`item/image` - Image url, puts the image at the top of the metadata popover.
|
||||||
|
`item/icon` - FontAwesome icon that will be displayed on the left side, works the same as notification and textui icons.
|
||||||
|
`item/iconColor` - Color of the displayed icon.
|
||||||
`item/menu` - Menu identifier that the button will take you to, when defined an arrow
|
`item/menu` - Menu identifier that the button will take you to, when defined an arrow
|
||||||
pointing to the right to indicate a menu will be shown.
|
pointing to the right to indicate a menu will be shown.
|
||||||
`item/arrow` - Shows an arrow on the right side like `menu` does, useful when you are
|
`item/arrow` - Shows an arrow on the right side like `menu` does, useful when you are
|
||||||
|
|||||||
Reference in new issue
Block a user