reojs is a Javascript library for non-blocking notifications and without jQuery. The goal is to create a simple core library that can be customized and extended.
- Demo can be found at https://reojs.hau.xyz
npm install --save reojs
yarn add reojs
The following animations options have been deprecated and should be replaced:
For other API calls, see the demo.
-
Link to reojs.css
<link href="reojs.css" rel="stylesheet"/>
-
Link to reojs.js
<script src="reojs.js"></script>
-
use reojs to display a toast for info, success, warning or error
// Display an info toast with no title reojs.info('Are you the 6 fingered man?')
To build the minified and css versions of reojs you will need node installed. (Use Homebrew or Chocolatey.)
npm install -g gulp karma-cli
npm install
At this point the dependencies have been installed and you can build reojs
- Run the analytics
gulp analyze
- Run the test
gulp test
- Run the build
gulp
For a pull request to be considered it must resolve a bug, or add a feature which is beneficial to a large audience.
Pull requests must pass existing unit tests, CI processes, and add additional tests to indicate successful operation of a new feature, or the resolution of an identified bug.
Requests must be made against the develop
branch. Pull requests submitted against the master
branch will not be considered.
All pull requests are subject to approval by the repository owners, who have sole discretion over acceptance or denial.
reojs is under MIT license