Sha256: d30698aa69a529765f5c9dbd735cc01a541209f404bdc6f8a039bc580b8b14ae

Contents?: true

Size: 581 Bytes

Versions: 3

Compression:

Stored size: 581 Bytes

Contents

RailsToastify.setup do |configuration|
  configuration.position = 'toast-container-top-right'
  configuration.notice_animation = 'bounce' # bounce, slide, flip, zoom 
  configuration.alert_animation = 'slide' # bounce, slide, flip, zoom
  configuration.notice_duration = 3000
  configuration.alert_duration = 3000
  configuration.notice_theme = 'light' # light, dark
  configuration.alert_theme = 'light' # light, dark
  configuration.notice_type = 'default' # default, success, warning, error, info
  configuration.alert_type = 'error' # default, success, warning, error, info
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_toastify-1.2.2 lib/generators/rails_toastify/install/templates/rails_toastify.rb
rails_toastify-1.2.1 lib/generators/rails_toastify/install/templates/rails_toastify.rb
rails_toastify-1.2.0 lib/generators/rails_toastify/install/templates/rails_toastify.rb