Files
unleashed-firmware/documentation/js/js_notification.md
knrn64 54adc38b3a 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
2025-03-26 18:29:26 +04:00

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 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