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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user