Git Product home page Git Product logo

web_notifications.dart's Introduction

Note: this package is not longer being actively maintained


web_notifications

Build Status

A package that implements the Notification API. Somewhat of an experiment in making new/experimental APIs available as packages, rather than having everything in dart:html.

Usage

A simple usage example:

import 'dart:html' hide Notification;
import 'package:notification/notification.dart';

main() async {
  if (!Notification.supported) return;
  await Notification.requestPermission();
  new Notification("Hello world", body: "Have a nice day!");
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

web_notifications.dart's People

Contributors

a14n avatar alan-knight avatar devoncarew avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

web_notifications.dart's Issues

Travis builds take many hours

Not sure how else to mention someone here, so assigning to Seth.

The Travis build and test seems to take on the order of a day. It only takes a minute or two to run, it just sits there not running for a long time first.I have no idea why, and this doesn't seem to be the case for other packages. Maybe it's because it's doing browser tests and those go in some kind of separate queue?

the repo needs a title

There's no title - you can enter it in the text field at the top of the page. Perhaps "A package that implements the Notification API."?

removed unused dart:async

removed unused dart:async as Future and Streams are already been implemented in dart:core which is an automatically implemented library as per Dart 2.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.