Class: Glib::JsonUi::ViewBuilder::Panels::BulkEdit
- Inherits:
-
View
- Object
- JsonUiElement
- View
- Glib::JsonUi::ViewBuilder::Panels::BulkEdit
- Defined in:
- app/helpers/glib/json_ui/view_builder/panels.rb
Overview
deprecated
Instance Attribute Summary
Attributes inherited from JsonUiElement
Instance Method Summary collapse
Methods inherited from View
Methods inherited from JsonUiElement
action, any, array, badgeable, bool, color, component_name, date, date_time, enum, float, hash, icon, #initialize, int, length, menu, panels_builder, #props, required, singleton_array, string, text, url, views
Constructor Details
This class inherits a constructor from Glib::JsonUi::JsonUiElement
Instance Method Details
#firstSection(block) ⇒ Object
549 550 551 552 553 |
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 549 def firstSection(block) json.sections [1] do block.call page.table_section_builder end end |
#sections(blocks) ⇒ Object
555 556 557 558 559 560 561 562 563 |
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 555 def sections(blocks) json.sections do blocks.each do |block| json.child! do block.call page.table_section_builder end end end end |