Download the PHP package tobento/js-notifier without Composer
On this page you can find all versions of the php package tobento/js-notifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tobento/js-notifier
More information about tobento/js-notifier
Files in tobento/js-notifier
Download tobento/js-notifier
More information about tobento/js-notifier
Files in tobento/js-notifier
Vendor tobento
Package js-notifier
Short Description Simple JavaScript notifier to show notifications.
License MIT
Homepage https://www.tobento.ch
Package js-notifier
Short Description Simple JavaScript notifier to show notifications.
License MIT
Homepage https://www.tobento.ch
Please rate this library. Is it a good library?
Informations about the package js-notifier
JS Notifier
Simple JavaScript notifier to show notifications.
Table of Contents
- Getting started
- Browser support
- Documentation
- Basic Usage
- Parameters
- Methods
- Stacks
- Credits
Getting started
Browser support
Modern browser only.
Documentation
Basic Usage
1. Include CSS/JS
2. Import Notifier And Send A Notification
Parameters
Parameter | Value | Description |
---|---|---|
You may set an action displayed using an element. | ||
, | If defined, the notification will be closed after the milliseconds passed. | |
You may set custom CSS classes to the notification element. | ||
You may add a custom icon. | ||
A unique notification id. | ||
Milliseconds after the notification will be removed. You may change this value if you have a custom animation, other than fade in and out. | ||
If close button will not be displayed at all. | ||
If icon will not be displayed at all. | ||
A stack name. See stack section to learn more. | ||
, , , | The notification status. | |
A text to be displayed. | ||
A title to be displayed. |
All parameters are optional but you must specify or at least.
Methods
Stacks
By default, notifications will be pushed to the stack which will be positioned top right. You may create more stacks by the following way:
1. Create the CSS class
Name your class like .notification-stack-:
2. Define the stack within you notifiaction
Credits
- Tobias Strub
- All Contributors
- Tabler Icons
All versions of js-notifier with dependencies
PHP Build Version
Package Version
No informations.
The package tobento/js-notifier contains the following files
Loading the files please wait ....