kaystrobach / toastr
Package info
github.com/kaystrobach/FLOW.Toastr
Language:JavaScript
Type:neos-package
pkg:composer/kaystrobach/toastr
2.2.0
2023-09-13 12:03 UTC
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>