mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 22:22:46 +00:00
add icon images support info
This commit is contained in:
1 parent
92095caefb
commit
2cca23ad75
2 files changed
+3
No files matched your search
@@ -52,6 +52,7 @@ lib.registerContext(context)
|
|||||||
* Function that's ran when the button is clicked.
|
* Function that's ran when the button is clicked.
|
||||||
* icon?: `string`
|
* icon?: `string`
|
||||||
* FontAwesome icon that will be displayed on the left side, works the same as notification and textui icons.
|
* FontAwesome icon that will be displayed on the left side, works the same as notification and textui icons.
|
||||||
|
* Also supports image urls, png and webp files but are not recommend to use over font awesome icons.
|
||||||
* iconColor?: `string`
|
* iconColor?: `string`
|
||||||
* Colour of the displayed icon.
|
* Colour of the displayed icon.
|
||||||
* progress?: `number`
|
* progress?: `number`
|
||||||
|
|||||||
@@ -38,6 +38,8 @@ lib.registerMenu(data, cb)
|
|||||||
* progress?: `number`
|
* progress?: `number`
|
||||||
* colorScheme?: `string`
|
* colorScheme?: `string`
|
||||||
* icon?: `string`
|
* icon?: `string`
|
||||||
|
* FontAwesome icon that will be displayed on the left side, works the same as notification and textui icons.
|
||||||
|
* Also supports image urls, png and webp files but are not recommend to use over font awesome icons.
|
||||||
* iconColor?: `string`
|
* iconColor?: `string`
|
||||||
* values?: `table` (`Array<string | {label: string; description: string}>`)
|
* values?: `table` (`Array<string | {label: string; description: string}>`)
|
||||||
* If provided creates a side scrollable list.
|
* If provided creates a side scrollable list.
|
||||||
|
|||||||
Reference in new issue
Block a user