kaystrobach / toastr
Installs: 7 745
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:JavaScript
Type:neos-package
Requires
- neos/flow: ~4.0 || ~5.0 || ~6.0 || ~7.0 || ~8.0
README
This Package converts the flow flashmessages into toastr messages.
http://codeseven.github.io/toastr/
To use it just provide jQuery in your template and use:
{namespace toastr=KayStrobach\Toastr\ViewHelpers}
<toastr:ToastrFlashMessages />
additionally you need the following in your header
<link href="{f:uri.resource(path:'Contrib/Toastr/toastr.css', package:'KayStrobach.Toastr')}" rel="stylesheet">
<script src="{f:uri.resource(path:'Contrib/Toastr/toastr.js', package:'KayStrobach.Toastr')}"></script>