alexcrack / alexcrack/angular-ui-notification

run an event when a notification starts

オープン
#146 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
529
フォーク
164
PR マージ指標
30日以内にマージされた PR はありません

説明

There is currently an `.onClose` method that can be setup to run when a notification closes, after looking up the docs and the code I've found no evidence for an opposite event that would fire when a notification is spawned.

My use case is that I want to play a sound when a notification is shown. So such an event would need to be defined at `.config` and would need to be run before any similar event would be run by a notification instance.

Is there a solution for this without poking inside the code and patching it ? if not I would probably fork the code and do it in the weekend.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。