Page 1 of 1

Change default position of Toastr messages

PostPosted: Tue Mar 22, 2022 12:28 am
by roddy
I have not been able to find any documentation on the Toastr messages outside of a forum post (viewtopic.php?f=69&t=22214) which contains a CSS class but not where it would be be placed for it to be effective. There is nothing on the Wiki of the NG1 CodeSeven Github page.

Is it possible to set the placement of the NG1 web notification Toastr messages? There is a createToastrOptions() and a setGlobalOptions() but no documentation on how these can be used.

Any information would be really welcome :-)

Re: Change default position of Toastr messages

PostPosted: Tue Mar 22, 2022 9:33 am
by mboegem
Hi Roddy,

you can set the positionClass property using the toastr options.
Different classes can be found here: https://cdnjs.cloudflare.com/ajax/libs/ ... toastr.css

Hope that helps

Re: Change default position of Toastr messages

PostPosted: Mon Mar 28, 2022 6:00 am
by roddy
Thanks for that; it worked like a charm :-)