This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
elm-package-template is a template for new package creation.
version 1.0.2
license MIT
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.2
Committed At 2018-07-12 11:03:15 UTC
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.1.1 <= v < 6.0.0 5.1.1

README

elm-package

billstclair/elm-system-notification is an Elm interface to the Notifications API. It allows your application to request permission to create system notifications, and, if granted, create them.

Notifications don't work from localhost in Chrome, so don't be surprised if you don't see them when running from elm reactor.

See the "example" directory for a simple use case.

In order to use it, your top-level program needs to have a port with which to communicate with the JavaScript code:

port notify NotifyPort

You need to compile your program to a site directory:

elm make Main.elm --output site/index.js

And you need a top-level HTML file similar to site/index.html.

Bill St. Clair
12 July 2018