All Projects → vfreitas- → growl-alert

vfreitas- / growl-alert

Licence: MIT license
A simple growl like notification system.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to growl-alert

Notie
🔔 a clean and simple notification, input, and selection suite for javascript, with no dependencies
Stars: ✭ 6,170 (+43971.43%)
Mutual labels:  alert, growl, notification
Fftoast
A very powerful iOS message notifications and AlertView extensions. It can be easily realized from the top of the screen, the bottom of the screen and the middle of the screen pops up a notification. You can easily customize the pop-up View.
Stars: ✭ 649 (+4535.71%)
Mutual labels:  alert, notification
Swiftentrykit
SwiftEntryKit is a presentation library for iOS. It can be used to easily display overlays within your iOS apps.
Stars: ✭ 5,706 (+40657.14%)
Mutual labels:  alert, notification
React Notie
Simple notifications for react
Stars: ✭ 27 (+92.86%)
Mutual labels:  alert, notification
snmp notifier
A webhook to relay Prometheus alerts as SNMP traps, because sometimes, you have to deal with legacy
Stars: ✭ 33 (+135.71%)
Mutual labels:  alert, notification
janitor
Availability monitoring and alerting for IOT devices
Stars: ✭ 55 (+292.86%)
Mutual labels:  alert, notification
Gcnotificationview
Simplest notification alert view for iOS
Stars: ✭ 27 (+92.86%)
Mutual labels:  alert, notification
notice.js
💯 Javascript notification library
Stars: ✭ 25 (+78.57%)
Mutual labels:  alert, notification
React Native Dropdownalert
A simple alert to notify users about new chat messages, something went wrong or everything is ok.
Stars: ✭ 1,628 (+11528.57%)
Mutual labels:  alert, notification
Vue Toastify
🔥 Simple, extendable, dependency free notification plugin. 🔥
Stars: ✭ 126 (+800%)
Mutual labels:  alert, notification
Notiflix
Notiflix is a JavaScript library for client-side non-blocking notifications, popup boxes, loading indicators, and more that makes your web projects much better.
Stars: ✭ 172 (+1128.57%)
Mutual labels:  alert, notification
Node Notifier
A Node.js module for sending notifications on native Mac, Windows and Linux (or Growl as fallback)
Stars: ✭ 5,273 (+37564.29%)
Mutual labels:  growl, notification
Litepicker
Date range picker - lightweight, no dependencies
Stars: ✭ 442 (+3057.14%)
Mutual labels:  lightweight, no-dependencies
Notificationbar
A simple module for iOS that allows you to show notifications strips
Stars: ✭ 40 (+185.71%)
Mutual labels:  alert, notification
brute-md5
Advanced, Light Weight & Extremely Fast MD5 Cracker/Decoder/Decryptor written in Python 3
Stars: ✭ 16 (+14.29%)
Mutual labels:  lightweight, no-dependencies
Humblelogging
HumbleLogging is a lightweight C++ logging framework. It aims to be extendible, easy to understand and as fast as possible.
Stars: ✭ 15 (+7.14%)
Mutual labels:  lightweight, no-dependencies
natick
natickOS - A minimal, lightweight, research Linux Distribution
Stars: ✭ 33 (+135.71%)
Mutual labels:  lightweight
units
A lightweight compile-time, header-only, dimensional analysis and unit conversion library built on c++11 with no dependencies
Stars: ✭ 17 (+21.43%)
Mutual labels:  no-dependencies
react-notification-alert
React bootstrap 4 notification alert
Stars: ✭ 34 (+142.86%)
Mutual labels:  notification
shoppers
Flutter E-Commerce App using Firebase, Razorpay and Stripe
Stars: ✭ 94 (+571.43%)
Mutual labels:  notification

Growl Alert

travis Codecov npm dependencies Status

A simple growl like notification system.

Example

Table of Contents

Install

You can get it on npm

$ npm install --save growl-alert

Then import it with a module bundler like rollup or webpack

// using ES6 modules
import growl from 'growl-alert'
// you need to import the css too!
// but first you need to configure your bundler to process css files!
import 'growl-alert/dist/growl-alert.css'

// using CommonJS modules
var growl = require('growl-alert')
require('growl-alert/dist/growl-alert.css')

There is also an UMD build available on unpkg:

<head>
    ...
    <link rel="stylesheet" href="https://unpkg.com/growl-alert/dist/growl-alert.css"></link>
    ...
</head>
<body>
    ...
    <script src="https://unpkg.com/growl-alert"></script>
</body>

You can find the library on window.growl or just growl.

Usage

You can use the growl() function, or one of its shortcuts.

//..

growl({text: 'Hello World!', type: 'success'});

growl.success('User Saved!');
growl.error('Somethng gone wrong...');
growl.warning({options...});
growl.info();

Examples & Demos

Soon :)

API

option: (default value) type/values description

  • type: ('success') ['success', 'error', 'warning', 'info'] Type of the growl-alert
  • text: The message
  • fadeAway: (false) Boolean: If the growl notification should fade away after x milliseconds
  • fadeAwayTimeout: (5000) Integer: Time in milliseconds.
  • alertBoxLoadedCB: Function: open callback
  • alertBoxOnCloseCB: Function: close callback

You can also define your own default options

growl.defaults.type = 'error'

Contribute

All contributions are welcome.

  • Fork the repo on GitHub
  • Clone the project to your own machine
  • Install the tools necessary for development: npm install
  • Make your changes and test it: npm test
  • Commit it to your own branch
  • Push your work back up to your fork
  • Submit a pull request with full remarks documenting your changes

Browser Support

IE 10+
Modern Browsers

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].