All Projects → Developerayo → react-notify

Developerayo / react-notify

Licence: MIT license
📖🔥🚀 React Notify using Noty and React, is a dependency-free notification library that simplifies creating alert's on a web applications.

Programming Languages

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

Projects that are alternatives of or similar to react-notify

now-deno-example
A demo application of now-deno and deno-postgres.
Stars: ✭ 30 (-40%)
Mutual labels:  zeit-now
create-graphql-app
Cli tool for bootstrapping serverless GraphQL api
Stars: ✭ 28 (-44%)
Mutual labels:  now-cli
docker-craft-nginx
🐳 A minimal Docker container for Craft CMS, intended for use with zeit-now.
Stars: ✭ 26 (-48%)
Mutual labels:  zeit-now
sprite
🖌 Draw charts in code. Render in real-time. Embed anywhere as .png.
Stars: ✭ 202 (+304%)
Mutual labels:  zeit-now
unity-now
▲ Vercel Now plugin for Unity. Deploy WebGL builds with ease
Stars: ✭ 21 (-58%)
Mutual labels:  zeit-now
Temps
λ A selfhostable serverless function runtime. Inspired by zeit now.
Stars: ✭ 15 (-70%)
Mutual labels:  now-cli
now-nuxt
A Now v2 Nuxt builder
Stars: ✭ 25 (-50%)
Mutual labels:  zeit-now
datasette-publish-vercel
Datasette plugin for publishing data using Vercel
Stars: ✭ 30 (-40%)
Mutual labels:  zeit-now
json-head
JSON microservice for performing HEAD requests
Stars: ✭ 31 (-38%)
Mutual labels:  zeit-now
yii2-notification-wrapper
Yii2-notification-wrapper module renders a message from session flash (with ajax, pjax support and etc.) through Growl, Noty, Toastr and more libraries
Stars: ✭ 78 (+56%)
Mutual labels:  noty
php-flasher
🔔 Flasher is a powerful and flexible flash notifications system for PHP, Laravel, Symfony
Stars: ✭ 68 (+36%)
Mutual labels:  noty
disqusjs-proxy-example
Using Now as Disqus API Proxy
Stars: ✭ 15 (-70%)
Mutual labels:  zeit-now
pytorch-serving
[UNMAINTAINED] A starter pack for creating a lightweight responsive web app for Fast.AI PyTorch models.
Stars: ✭ 16 (-68%)
Mutual labels:  zeit-now
covid-19-next
Offline Covid-19 stats
Stars: ✭ 17 (-66%)
Mutual labels:  zeit-now
zoom-slack-status-updater
Update your Slack status automatically when you join a Zoom meeting.
Stars: ✭ 23 (-54%)
Mutual labels:  zeit-now

Make a pull request. First-timers Friendly

React Notify

React Notify using Noty, noty is a dependency free notification library that simplifies creating alert's on a web application.

Get Started

Demo: https://react-notify.now.sh/

Clone the repository:

git clone https://github.com/Developerayo/react-notify.git && cd react-notify

Install the dependencies:

npm install

To start the project run following command in your terminal:

npm start

Now Open http://localhost:3000 to view it in the browser.

To build the project run the following command in your terminal:

npm run build

Launches the test runner in the interactive watch mode. See the section about running tests for more information.

npm test

Run the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Noty

Noty is a dependency free notification library that simplifies creating alert's on a web application.

Creating a notification

new Noty({
    ...
    text: 'Notification Text Here',
    ...
}).show();

Noty Available functions listed below.

Option Default Info
type: string 'alert' alert, success, error, warning, info - ClassName generator uses this value → noty_type__${type}
layout: string 'topRight' top, topLeft, topCenter, topRight, center, centerLeft, centerRight, bottom, bottomLeft, bottomCenter, bottomRight - ClassName generator uses this value → noty_layout__${layout}
theme: string 'mint' relax, mint, metroui - ClassName generator uses this value → noty_theme__${theme}
text: string '' This string can contain HTML too. But be careful and don't pass user inputs to this parameter.
timeout: boolean,int false false, 1000, 3000, 3500, etc. Delay for closing event in milliseconds (ms). Set 'false' for sticky notifications.
progressBar: boolean true true, false - Displays a progress bar if timeout is not false.
closeWith: [...string] ['click'] click, button
animation.open: string,null,function 'noty_effects_open' If string, assumed to be CSS class name. If null, no animation at all. If function, runs the function. (v3.0.1+) You can use animate.css class names or your custom css animations as well.
animation.close: string,null,function animation.close: string,null,function If string, assumed to be CSS class name. If null, no animation at all. If function, runs the function. (v3.0.1+) You can use animate.css class names or your custom css animations as well.
sounds.sources: [...string] [] v3.1.0-beta Array of audio sources e.g 'some.wav'
sounds.volume: int 1 v3.1.0-beta Integer value between 0-1 e.g 0.5
sounds.conditions: [...string] [] v3.1.0-beta There are two conditions for now: 'docVisible' & 'docHidden'. You can use one of them or both.
docTitle.conditions: [...string] [...string] [] v3.1.0-beta There are two conditions for now: 'docVisible' & 'docHidden'. You can use one of them or both.
modal: boolean false v3.1.0-beta Behaves like v2 but more stable
id: string,boolean false You can use this id with querySelectors. Generated automatically if false.
force: boolean false DOM insert method depends on this parameter. If false uses append, if true uses prepend.
queue: string 'global' NEW Named queue system. Details are here.
killer: boolean,string false If true closes all visible notifications and shows itself. If string(queueName) closes all visible notification on this queue and shows itself.
container: boolean,string false Custom container selector string. Like '.my-custom-container'. Layout parameter will be ignored.
buttons: [...Noty.button] [] An array of Noty.button, for creating confirmation dialogs. Details are here.
callbacks.beforeShow: function Default: () => {} Details are here.
callbacks.onShow: function Default: () => {} Details are here.
callbacks.afterShow: function Default: () => {} Details are here.
callbacks.onClose: function Default: () => {} Details are here.
callbacks.afterClose: function Default: () => {} Details are here.
callbacks.onHover: function Default: () => {} Details are here.
callbacks.onClick: function Default: () => {} Only works if closeWith = ['click']. Details are here.
callbacks.onTemplate: function Default: () => {} Mainly for DOM manipulations. Details are here.
visibilityControl: boolean false If true Noty uses PageVisibility API to handle timeout. To ensure that users do not miss their notifications.

License

MIT

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].