NotifiedPhoenix

Build Statushex.pm version

Phoenix live views for notified

workbench-notifications

Installation

Add the notified_phoenix package to your list of dependencies in mix.exs:

def deps do
  [
    {:notified_phoenix, "~> 0.0.3"}
  ]
end

Usage

Live Badge

<%= live_render(@socket, NotifiedPhoenix.BadgeLive, [] %>

badge

Live List

<%= live_render(@socket, NotifiedPhoenix.ListLive, class: "my-custom-style" %>

list

Receivers

NotifiedPhoenix ships with extra receivers that can be used within modern web browsers

config :notified, receivers: [
  {NotifiedPhoenix.Receivers.Speech, []}
  {NotifiedPhoenix.Receivers.BrowserNotification, []}
]

Authors

License

notified_phoenix is released under the MIT license