mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
feat(interface): Support for markdown docs (#83)
Co-authored-by: davidxd33 <[email protected]>
This commit is contained in:
1 parent
983fc5aec2
commit
89f00ae5d3
2 files changed
+4
-4
No files matched your search
@@ -31,7 +31,7 @@ lib.registerContext(context)
|
||||
* id: `string`
|
||||
* Unique menu identifier, will be used to open the menu.
|
||||
* title: `string`
|
||||
* Title display in the menu.
|
||||
* Title display in the menu; has markdown support.
|
||||
* menu?: `string`
|
||||
* Menu identifier - if defined there will be a back arrow next to the menu title that will take you to the menu you defined.
|
||||
* canClose: `boolean`
|
||||
@@ -43,7 +43,7 @@ lib.registerContext(context)
|
||||
* options: `table` (`object` or `array`)
|
||||
* item: `key` (`string`) or `table` (`object`)
|
||||
* title?: `string`
|
||||
* If not using keys then sets the title for the button.
|
||||
* If not using keys then sets the title for the button; has markdown support.
|
||||
* disabled?: `boolean`
|
||||
* Grays out the button and makes it unclickable.
|
||||
* menu?: `string`
|
||||
@@ -62,7 +62,7 @@ lib.registerContext(context)
|
||||
* arrow?: `boolean`
|
||||
* Shows an arrow on the right side like `menu` does, useful when you are opening a menu from an event. Can be set to false to hide it.
|
||||
* description?: `string`
|
||||
* Description that will appear under the button title that is defined as a key.
|
||||
* Description that will appear under the button title that is defined as a key; has markdown support.
|
||||
* image?: `string`
|
||||
* Url to an image that will be displayed in the button's metadata.
|
||||
* metadata?: `string[]` or `object` or `array`
|
||||
|
||||
@@ -33,7 +33,7 @@ lib.notify(data)
|
||||
* title?: `string`
|
||||
* Must provide if there is no description
|
||||
* description?: `string`
|
||||
* Must provide if there is no title
|
||||
* Must provide if there is no title; has markdown support.
|
||||
* duration?: `number`
|
||||
* position?: `'top'` or `'top-right'` or `'top-left'` or `'bottom'` or `'bottom-right'` or `'bottom-left'`
|
||||
* Default: `'top-right'`
|
||||
|
||||
Reference in new issue
Block a user