Class: Matestack::Ui::Bootstrap::Components::Alert
- Inherits:
-
VueJsComponent
- Object
- VueJsComponent
- Matestack::Ui::Bootstrap::Components::Alert
- Defined in:
- app/concepts/matestack/ui/bootstrap/components/alert.rb
Instance Method Summary collapse
Instance Method Details
#response ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'app/concepts/matestack/ui/bootstrap/components/alert.rb', line 7 def response div alert_attributes do heading size: (title_size || 4), class: 'alert-heading', text: title if title plain text if text yield_components bs_close dismiss: "alert" if dismissible end end |