> For the complete documentation index, see [llms.txt](https://jsf.gitbook.io/jsf/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jsf.gitbook.io/jsf/other/notifications.md).

# Notifications support

If app integrates JSF notifications support, you can trigger notifications directly from JSF.

To trigger notification from `$eval` you can call:

```javascript
$form.runOnNotificationHook({
        level: 'info' | 'success' | 'warn' | 'error',
        message: 'meow'
});
```

{% hint style="info" %}
If calling from onClick you can also use [`showNotification`](/jsf/layout/layout-options/on-click-action.md#show-notification) action.
{% endhint %}

Example usage inside onClick, but you can easily call it from any $eval:

```javascript
onClick: {
    $eval: `
    $form.runOnNotificationHook({
        level: 'info',
        message: 'Hello!'
    });
    `
}
```

### Integrating in you Angular

You only need to add extra input when calling JSF angular component. For example:

```markup
<jsf-page   [onNotification]="onNotificationHandler"
            [jsfDefinitionProvider]="jsfDefinitionProvider"
            [pageBuilder]="jsfPageBuilder">
```
