1
mirror of https://github.com/flipperdevices/flipperzero-firmware.git synced 2025-12-13 05:19:50 +04:00

Add guides on Getting Started with JS (#4150)

- Get started section added to the JS docs
- Small fixes in the JS modules docs
This commit is contained in:
Ruslan Nadyrshin
2025-03-18 20:08:23 +04:00
committed by GitHub
parent 9a8dcc340f
commit 02dedd60f3
25 changed files with 343 additions and 123 deletions

View File

@@ -1,13 +1,12 @@
# js_notification {#js_notification}
# Notification module {#js_notification}
# Notification module
```js
let notify = require("notification");
```
# Methods
## success
"Success" flipper notification message
"Success" flipper notification message.
### Examples:
```js
@@ -15,7 +14,7 @@ notify.success();
```
## error
"Error" flipper notification message
"Error" flipper notification message.
### Examples:
```js
@@ -23,7 +22,7 @@ notify.error();
```
## blink
Blink notification LED
Blink notification LED.
### Parameters
- Blink color (blue/red/green/yellow/cyan/magenta)