fixes
This commit is contained in:
@@ -65,7 +65,7 @@ If the first argument of the dialog contains two lines separated by `\n`, the se
|
||||
* `ui:show_context_menu(table)` - function shows the context menu. Function takes a table of tables with icons and menu item names as its argument. For example, the following code will prepare a context menu of three items:
|
||||
|
||||
```
|
||||
ui:prepare_context_menu({
|
||||
ui:show_context_menu({
|
||||
{ "share", "Menu item 1" }
|
||||
{ "copy", "Menu item 2" }
|
||||
{ "trash", "Menu item 3" },
|
||||
|
||||
@@ -65,7 +65,7 @@ First line<br/>Second line
|
||||
* `ui:show_context_menu(table)` - функция показывает контекстное меню. В качестве аргумента функция принимает таблицу таблиц с иконками и названиями элементов меню. Например, следующий код подготовит контекстное меню из трех элементов:
|
||||
|
||||
```
|
||||
ui:prepare_context_menu({
|
||||
ui:show_context_menu({
|
||||
{ "share", "Menu item 1" },
|
||||
{ "copy", "Menu item 2" },
|
||||
{ "trash", "Menu item 3" },
|
||||
|
||||
Reference in New Issue
Block a user