One question... On Rails 4.1, let's say I want to change:
Growlyflash.defaults = $.extend on, Growlyflash.defaults,
align: 'center' # horizontal aligning (left, right or center)
delay: 4000 # auto-dismiss timeout (0 to disable auto-dismiss)
dismiss: yes # allow to show close button
spacing: 10 # spacing between alerts
target: 'body' # selector to target element where to place alerts
type: null # bootstrap alert class by default
class: ['alert', 'growlyflash', 'fade']
Just as documented so I can center the notification. How/Where do I put this script?
Hi! This gem is awesome!
One question... On Rails 4.1, let's say I want to change:
Just as documented so I can center the notification. How/Where do I put this script?
Thanks!