mirror of
https://github.com/flipperdevices/flipperzero-firmware.git
synced 2025-12-12 04:41:26 +04:00
550 B
550 B
Notification module
let notify = require("notification");
Methods
success
"Success" flipper notification message.
Examples:
notify.success();
error
"Error" flipper notification message.
Examples:
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