Class: Glib::JsonUi::ViewBuilder::Panels::BulkEdit

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

Overview

deprecated

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

#firstSection(block) ⇒ Object



419
420
421
422
423
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 419

def firstSection(block)
  json.sections [1] do
    block.call page.table_section_builder
  end
end

#sections(blocks) ⇒ Object



425
426
427
428
429
430
431
432
433
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 425

def sections(blocks)
  json.sections do
    blocks.each do |block|
      json.child! do
        block.call page.table_section_builder
      end
    end
  end
end