Skip to content

Commit

Permalink
add context menu readonly (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeWasTakenn authored Sep 22, 2023
1 parent 3cada05 commit 756b559
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/ox_lib/Modules/Interface/Client/context.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ Used for registering a context menu.
- If not using keys then sets the title for the button; has markdown support.
- disabled?: `boolean`
- Grays out the button and makes it unclickable.
- readOnly? `boolean`
- Removes all hover and active styles and disables onSelect if it's defined.
- menu?: `string`
- Menu identifier that the button will take you to, when defined an arrow.
- onSelect: `function`
Expand Down

0 comments on commit 756b559

Please sign in to comment.