Preparing search index...
The search index is not available
@spyre-io/js
@spyre-io/js
useNotifHandler
Function useNotifHandler
Subscribes a handler to a type of notification.
use
Notif
Handler
(
code
,
fn
)
:
void
Parameters
code
:
NotificationCodes
The notification code.
fn
:
(
(
notif
:
Notification
)
=>
void
)
The function to subscribe.
(
notif
)
:
void
Parameters
notif
:
Notification
Returns
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@spyre-io/js
Loading...
Subscribes a handler to a type of notification.