mirror of
https://github.com/flipperdevices/flipperzero-firmware.git
synced 2025-12-12 04:41:26 +04:00
- Add new doc on Storage module - Improve formatting in the JS section for better readability
567 B
567 B
Notification module
let notify = require("notification");
Methods
success()
"Success" flipper notification message.
Example
notify.success();
error()
"Error" flipper notification message.
Example
notify.error();
blink()
Blink notification LED.
Parameters
- Blink color (blue/red/green/yellow/cyan/magenta)
- Blink type (short/long)
Examples
notify.blink("red", "short"); // Short blink of red LED
notify.blink("green", "short"); // Long blink of green LED