diff --git a/documentation/js/js_gui.md b/documentation/js/js_gui.md index b04255008706..bca347acf48c 100644 --- a/documentation/js/js_gui.md +++ b/documentation/js/js_gui.md @@ -40,24 +40,23 @@ always access the canvas through a viewport. ### View In Flipper's terminology, a "View" is a fullscreen design element that assumes control over the entire viewport and all input events. Different types of views -are available (not all of which are unfortunately currently implemented in JS): -| View | Has JS adapter? | -|----------------------|-----------------------| -| `button_menu` | ❌ | -| `button_panel` | ❌ | -| `byte_input` | ✅ | -| `dialog_ex` | ✅ (as `dialog`) | -| `empty_screen` | ✅ | -| `file_browser` | ✅ (as `file_picker`) | -| `loading` | ✅ | -| `menu` | ❌ | -| `number_input` | ❌ | -| `popup` | ❌ | -| `submenu` | ✅ | -| `text_box` | ✅ | -| `text_input` | ✅ | -| `variable_item_list` | ❌ | -| `widget` | ✅ | +are available: + +* `button_menu` +* `button_panel` +* `byte_input` +* `dialog` +* `empty_screen` +* `file_picker` +* `loading` +* `menu` +* `number_input` +* `popup` +* `submenu` +* `text_box` +* `text_input` +* `vi_list` +* `widget` In JS, each view has its own set of properties (or just "props"). The programmer can manipulate these properties in two ways: diff --git a/documentation/js/js_notification.md b/documentation/js/js_notification.md index 753f4c9e98b9..72e02e91f17b 100644 --- a/documentation/js/js_notification.md +++ b/documentation/js/js_notification.md @@ -35,5 +35,5 @@ Blink notification LED. **Examples** ```js notify.blink("red", "short"); // Short blink of red LED -notify.blink("green", "short"); // Long blink of green LED +notify.blink("green", "long"); // Long blink of green LED ``` \ No newline at end of file