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

Documentation: new doc on Storage module and JS cleanup (#4161)

- Add new doc on Storage module
- Improve formatting in the JS section for better readability
This commit is contained in:
knrn64
2025-03-26 17:29:26 +03:00
committed by GitHub
parent 02dedd60f3
commit 54adc38b3a
17 changed files with 898 additions and 298 deletions

View File

@@ -3,32 +3,36 @@
```js
let notify = require("notification");
```
# Methods
## Methods
## success
### success()
"Success" flipper notification message.
### Examples:
**Example**
```js
notify.success();
```
## error
<br>
### error()
"Error" flipper notification message.
### Examples:
**Example**
```js
notify.error();
```
## blink
<br>
### blink()
Blink notification LED.
### Parameters
**Parameters**
- Blink color (blue/red/green/yellow/cyan/magenta)
- Blink type (short/long)
### Examples:
**Examples**
```js
notify.blink("red", "short"); // Short blink of red LED
notify.blink("green", "short"); // Long blink of green LED