Update README

This commit is contained in:
Evgeny
2024-05-27 17:47:24 +04:00
parent d5101ca34b
commit b2e60d725b
2 changed files with 24 additions and 19 deletions

View File

@@ -1,3 +1,22 @@
### 5.2.3
* Added `on_load()` callback
* Added `on_resume_when_folding` meta tag
### 5.2.1
* Added support for complex UIs
* Added `ui:set_progress()` function
### 5.2.0
* Added `widgets` module to app widgets interaction
### 5.1.0
* Added `add_purchase` action
* Added `on_contacts_loaded()` callback
### 4.9.4 ### 4.9.4
* The `aio:actions()` function now also returns arguments format for each action * The `aio:actions()` function now also returns arguments format for each action

View File

@@ -25,31 +25,16 @@ The type of script is determined by the line (meta tag) at the beginning of the
# Changelog # Changelog
### 5.3.1
* Added `string:trim()`, `string:starts_with()` and `string:ends_with()` methods
### 5.3.0 ### 5.3.0
* Added `prefs:show_dialog` method * Added `prefs:show_dialog` method
* Added `system:show_notify()` and `system:cancel_notify()` methods * Added `system:show_notify()` and `system:cancel_notify()` methods
* Added support for SVG icons to the Rich UI API * Added support for SVG icons to the Rich UI API
### 5.2.3
* Added `on_load()` callback
* Added `on_resume_when_folding` meta tag
### 5.2.1
* Added support for complex UIs
* Added `ui:set_progress()` function
### 5.2.0
* Added `widgets` module to app widgets interaction
### 5.1.0
* Added `add_purchase` action
* Added `on_contacts_loaded()` callback
[Full changelog](CHANGELOG.md) [Full changelog](CHANGELOG.md)
# Widget scripts # Widget scripts
@@ -126,6 +111,7 @@ The list output functions support HTML and Markdown (see User Interface section
## User Interface ## User Interface
_Available only in widget scripts._ _Available only in widget scripts._
_AIO Launcher also offers a way to create more complex UIs: [instructions](README_RICH_UI.md)_
* `ui:show_text(string)` - displays plain text in widget, repeated call will erase previous text; * `ui:show_text(string)` - displays plain text in widget, repeated call will erase previous text;
* `ui:show_lines(table, [table], [folded_string])` - displays a list of lines with the sender (in the manner of a mail widget), the second argument (optional) - the corresponding senders (formatting in the style of a mail widget), folded\_string (optional) - string to be shown in folded mode; * `ui:show_lines(table, [table], [folded_string])` - displays a list of lines with the sender (in the manner of a mail widget), the second argument (optional) - the corresponding senders (formatting in the style of a mail widget), folded\_string (optional) - string to be shown in folded mode;