Class: Matestack::Ui::Bootstrap::Components::Modal
- Inherits:
-
BaseVueJsComponent
- Object
- VueJsComponent
- BaseVueJsComponent
- Matestack::Ui::Bootstrap::Components::Modal
- Defined in:
- lib/matestack/ui/bootstrap/components/modal.rb
Instance Method Summary collapse
Instance Method Details
#response ⇒ Object
25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/matestack/ui/bootstrap/components/modal.rb', line 25 def response div modal_attributes do div class: dialog_classes do div class: "modal-content" do header_partial if context.header || (slots && slots[:header]) body_partial if context.body || slots && slots[:body] if context. || (slots && slots[:footer]) yield if block_given? end end end end |