Class: Essence::FlashComponent
- Inherits:
-
NotificationComponent
- Object
- ViewComponent::Base
- ApplicationComponent
- NotificationComponent
- Essence::FlashComponent
- Defined in:
- app/components/essence/flash_component.rb
Defined Under Namespace
Classes: ContainerComponent
Constant Summary collapse
- VARIANT_MAPPINGS =
{ :success => 'flash-success', :notice => 'flash-notice', DEFAULT_VARIANT => 'flash-info', :warning => 'flash-warning', :danger => 'flash-danger', :alert => 'flash-danger' }.freeze
Constants inherited from NotificationComponent
NotificationComponent::DEFAULT_VARIANT, NotificationComponent::ICON_MAPPINGS, NotificationComponent::VARIANT_OPTIONS
Constants included from FetchOrFallbackHelper
Essence::FetchOrFallbackHelper::InvalidValueError
Instance Attribute Summary
Attributes inherited from NotificationComponent
Method Summary
Methods inherited from NotificationComponent
Methods inherited from ApplicationComponent
Methods included from Utils
Methods included from FetchOrFallbackHelper
#fetch_or_fallback, #fetch_or_fallback_boolean, #integer_or_fallback
Constructor Details
This class inherits a constructor from Essence::NotificationComponent