Class: Glib::JsonUi::ViewBuilder::Banners::Select

Inherits:
View show all
Defined in:
app/helpers/glib/json_ui/view_builder/banners.rb

Instance Attribute Summary

Attributes inherited from JsonUiElement

#json, #page

Instance Method Summary collapse

Methods inherited from View

component_name

Methods inherited from JsonUiElement

#initialize, #props

Constructor Details

This class inherits a constructor from Glib::JsonUi::JsonUiElement

Instance Method Details

#buttons(block) ⇒ Object



20
21
22
23
24
# File 'app/helpers/glib/json_ui/view_builder/banners.rb', line 20

def buttons(block)
  json.buttons do
    block.call page.menu_builder
  end
end