Download the PHP package rahulabs/yii2-toastr without Composer
On this page you can find all versions of the php package rahulabs/yii2-toastr. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rahulabs/yii2-toastr
More information about rahulabs/yii2-toastr
Files in rahulabs/yii2-toastr
Package yii2-toastr
Short Description Simple javascript toast notifications
License BSD-3-Clause
Homepage https://github.com/rahulabs/yii2-toastr
Informations about the package yii2-toastr
Yii2 - Javascript Toast Notifications
Simple javascript toast notifications - Javascript library for non-blocking notifications. jQuery is required. The goal is to create a simple core library that can be customized and extended.
Installation
The extension is installed using Composer installation instructions Composer
The extension is installed using Composer installation instructions
or (master)
or make changes to the section require
в composer.json
and execute composer update
or (master)
There is also the possibility of setting up a custom notification, according to the parameters provided by the developers. Toastr by CodeSeven
Notifications NotificationFlash::widget()
The connection is made globally, for example in the project layouts.
There is also the possibility of setting up notifications according to the parameters provided by the developers. Toastr by CodeSeven
Acceptable parameters
Parameter | Default value | Available values | Description |
---|---|---|---|
type | info |
info , error , success , warning |
Notification Type |
title | --- | --- | Notification Title |
message | Simple javascript toast notifications |
--- | Notification text |
options | [] |
More details... | Additional options |
Allowed type constants:
Available position constants:
Demonstration
- Demo can be found at http://codeseven.github.io/toastr/demo.html